Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

gslib::glsl_math::mat3 Struct Reference

#include <glsl_math.h>

Inheritance diagram for gslib::glsl_math::mat3:

Inheritance graph
[legend]
Collaboration diagram for gslib::glsl_math::mat3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mat3 ()
 mat3 (value_type v)
 mat3 (const vec3 &column0, const vec3 &column1, const vec3 &column2)
 mat3 (value_type _00, value_type _10, value_type _20, value_type _01, value_type _11, value_type _21, value_type _02, value_type _12, value_type _22)

Static Public Member Functions

mat3 identity ()

Public Attributes

value_type array [3 *3]

Constructor & Destructor Documentation

gslib::glsl_math::mat3::mat3  )  [inline]
 

Definition at line 548 of file glsl_math.h.

Referenced by identity().

00548 {}

gslib::glsl_math::mat3::mat3 value_type  v  )  [inline]
 

Definition at line 549 of file glsl_math.h.

References gslib::glsl_math::tuple< Size >::begin(), and gslib::glsl_math::tuple< Size >::end().

00549                                  {
00550                 std::fill( begin(), end(), v );
00551             }

Here is the call graph for this function:

gslib::glsl_math::mat3::mat3 const vec3 column0,
const vec3 column1,
const vec3 column2
[inline]
 

Definition at line 552 of file glsl_math.h.

References gslib::glsl_math::matrix_mixin< mat3, vec3, 3, 3 >::operator[]().

00552                                                                                   {
00553                 operator [] ( 0 ) = column0;
00554                 operator [] ( 1 ) = column1;
00555                 operator [] ( 2 ) = column2;
00556             }

Here is the call graph for this function:

gslib::glsl_math::mat3::mat3 value_type  _00,
value_type  _10,
value_type  _20,
value_type  _01,
value_type  _11,
value_type  _21,
value_type  _02,
value_type  _12,
value_type  _22
[inline]
 

Definition at line 558 of file glsl_math.h.

00561                                                                  {
00562                 
00563                 array[ 0 ] = _00;
00564                 array[ 1 ] = _10;
00565                 array[ 2 ] = _20;
00566                 array[ 3 ] = _01;
00567                 array[ 4 ] = _11;
00568                 array[ 5 ] = _21;
00569                 array[ 6 ] = _02;
00570                 array[ 7 ] = _12;
00571                 array[ 8 ] = _22;
00572             }


Member Function Documentation

mat3 gslib::glsl_math::mat3::identity  )  [inline, static]
 

Definition at line 574 of file glsl_math.h.

References mat3().

00574                                    {
00575                 return mat3( 1, 0, 0, 0, 1, 0, 0, 0, 1 );
00576             }

Here is the call graph for this function:


Member Data Documentation

value_type gslib::glsl_math::mat3::array[ 3 * 3 ]
 

Definition at line 546 of file glsl_math.h.


The documentation for this struct was generated from the following file:
Generated on Fri Dec 24 00:52:19 2004 for glsl_math by doxygen 1.3.6