vlmatrix_mode


NAME

    vlmatrix_mode   -  Choose either the Modelview matrix or the Projection matrix as the current matrix.

SYNOPSIS

    #include <parvox.h>

    void vlmatrix_mode(long matrix_mode);


DESCRIPTION

    ParVox has two internal transformation matrices, the Modelview matrix and the Projection matrix.  vlmatrix_mode() selects either Modelview matrix or the Projection matrix to be the current matrix, which the subsequent matrix operations will be applied to.  matrix_mode could be either VL_MODELVIEW or VL_PROJECTION.


SEE ALSO

    vlload_identity, vlmult_matrix, vlscale, vltranslate, vlrotate
 


BACK TO INDEX