torque Torque Game Engine Documentation
TGE Version 1.5.2

Matrix Functions


Detailed Description

These functions manipulate the current matrix.

The current matrix could be modelivew, projection, or texture

Note:
Make sure you specify which matrix you want to manipulate with a call to glMatrixMode(enum matrix); before calling dglLoadMatrix() or dglMultMatrix()


Functions

void dglLoadMatrix (const MatrixF *m)
 loads matrix "m" into the current matrix mode
void dglMultMatrix (const MatrixF *m)
 multiplies the current transformation matrix by matrix "m"
void dglGetModelview (MatrixF *m)
 returns the current modelview matrix
void dglGetProjection (MatrixF *m)
 returns the current projection matrix


Function Documentation

void dglLoadMatrix ( const MatrixF m  ) 

loads matrix "m" into the current matrix mode

void dglMultMatrix ( const MatrixF m  ) 

multiplies the current transformation matrix by matrix "m"

void dglGetModelview ( MatrixF m  ) 

returns the current modelview matrix

void dglGetProjection ( MatrixF m  ) 

returns the current projection matrix




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen