#include <glsl_math.h>
Inheritance diagram for gslib::glsl_math::mat4:
Public Member Functions | |
mat4 () | |
mat4 (value_type v) | |
mat4 (const vec4 &column0, const vec4 &column1, const vec4 &column2, const vec4 &column3) | |
mat4 (value_type _00, value_type _10, value_type _20, value_type _30, value_type _01, value_type _11, value_type _21, value_type _31, value_type _02, value_type _12, value_type _22, value_type _32, value_type _03, value_type _13, value_type _23, value_type _33) | |
Static Public Member Functions | |
mat4 | identity () |
Public Attributes | |
value_type | array [4 *4] |
|
Definition at line 582 of file glsl_math.h. Referenced by identity().
00582 {} |
|
Definition at line 583 of file glsl_math.h. References gslib::glsl_math::tuple< Size >::begin(), and gslib::glsl_math::tuple< Size >::end().
|
Here is the call graph for this function:
|
Definition at line 586 of file glsl_math.h. References gslib::glsl_math::matrix_mixin< mat4, vec4, 4, 4 >::operator[]().
00586 { 00587 operator [] ( 0 ) = column0; 00588 operator [] ( 1 ) = column1; 00589 operator [] ( 2 ) = column2; 00590 operator [] ( 3 ) = column3; 00591 } |
Here is the call graph for this function:
|
Definition at line 593 of file glsl_math.h.
00597 { 00598 00599 array[ 0 ] = _00; 00600 array[ 1 ] = _10; 00601 array[ 2 ] = _20; 00602 array[ 3 ] = _30; 00603 array[ 4 ] = _01; 00604 array[ 5 ] = _11; 00605 array[ 6 ] = _21; 00606 array[ 7 ] = _31; 00607 array[ 8 ] = _02; 00608 array[ 9 ] = _12; 00609 array[ 10 ] = _22; 00610 array[ 11 ] = _32; 00611 array[ 12 ] = _03; 00612 array[ 13 ] = _13; 00613 array[ 14 ] = _23; 00614 array[ 15 ] = _33; 00615 } |
|
Definition at line 617 of file glsl_math.h. References mat4().
00617 { 00618 return mat4( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ); 00619 } |
Here is the call graph for this function:
|
Definition at line 580 of file glsl_math.h. |