Enumerations | |
| enum | Mode { PROJECTION = 0, MODELVIEW = 1, TEXTURE = 2 } |
Functions | |
| void | _setMatrixUniform (void) |
| ES|1.0 is the only configuration without programs. | |
| void | _matrixMode (Mode mode) |
| void | _pushMatrix (void) |
| void | _popMatrix (void) |
| void | _loadMatrix (const GLfloat *p) |
| void | initialize () |
| const Mat4 & | get (Mode mode) |
| void | set (Mode mode, const Mat4 &m) |
| void | push (Mode mode, const Mat4 &m) |
| void | push (Mode mode) |
| Mat4 | pop (Mode mode) |
| Vec3 | project (const Vec3 &object, const Vec4 &viewport) |
| Vec3 | unProject (const Vec3 &window, const Vec4 &viewport) |
Variables | |
| vector< Mat4 > | stack [3] |
| void RenderTools::Matrix::_loadMatrix | ( | const GLfloat * | p | ) |
Definition at line 2542 of file Matrix.cpp.
| void RenderTools::Matrix::_matrixMode | ( | Mode | mode | ) |
ES|2.0 is the only configuration without fixed function TODO: follow deprecation model and allow for compatibility mode
Definition at line 2527 of file Matrix.cpp.
| void RenderTools::Matrix::_popMatrix | ( | void | ) |
Definition at line 2541 of file Matrix.cpp.
| void RenderTools::Matrix::_pushMatrix | ( | void | ) |
Definition at line 2540 of file Matrix.cpp.
| void RenderTools::Matrix::_setMatrixUniform | ( | void | ) |
| const Mat4 & RenderTools::Matrix::get | ( | Mode | mode | ) |
Definition at line 2581 of file Matrix.cpp.
| void RenderTools::Matrix::initialize | ( | ) |
| Mat4 RenderTools::Matrix::pop | ( | Mode | mode | ) |
pop the stack
allow for fixed function matrix mode
allow for fixed-function pop
allow for program uniform
and return
Definition at line 2649 of file Matrix.cpp.
| Vec3 RenderTools::Matrix::project | ( | const Vec3 & | object, | |
| const Vec4 & | viewport | |||
| ) |
Definition at line 2676 of file Matrix.cpp.
| void RenderTools::Matrix::push | ( | Mode | mode | ) |
push-copy the top of the stack if no matrix is given.
if empty, store Identity
allow for fixed function matrix mode
allow for fixed-function push
allow for program uniform
Definition at line 2628 of file Matrix.cpp.
| void RenderTools::Matrix::push | ( | Mode | mode, | |
| const Mat4 & | m | |||
| ) |
keep the stack up-to-date internally
allow for fixed function matrix mode
allow for fixed-function push
then load fixed-function
allow for program uniform
Definition at line 2611 of file Matrix.cpp.
| void RenderTools::Matrix::set | ( | Mode | mode, | |
| const Mat4 & | m | |||
| ) |
allow for fixed function matrix mode
load fixed-function
allow for program uniform
Definition at line 2592 of file Matrix.cpp.
| Vec3 RenderTools::Matrix::unProject | ( | const Vec3 & | window, | |
| const Vec4 & | viewport | |||
| ) |
Definition at line 2689 of file Matrix.cpp.
| vector< Mat4 > RenderTools::Matrix::stack[3] |
Definition at line 2506 of file Matrix.cpp.
1.5.8