Torque2D Reference
Loading...
Searching...
No Matches

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

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()

Function Documentation

◆ dglGetModelview()

void dglGetModelview ( MatrixF * m)

returns the current modelview matrix

◆ dglGetProjection()

void dglGetProjection ( MatrixF * m)

returns the current projection matrix

◆ dglLoadMatrix()

void dglLoadMatrix ( const MatrixF * m)

loads matrix "m" into the current matrix mode

◆ dglMultMatrix()

void dglMultMatrix ( const MatrixF * m)

multiplies the current transformation matrix by matrix "m"