OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mat4 Struct Reference

#include <matrix.h>

Public Types

typedef float data_type
 
typedef float data_type
 

Public Member Functions

 mat4 ()
 
 mat4 (float s)
 
mat4 operator* (const mat4 &rhs)
 
mat4 operator* (const float s)
 
vec4 operator* (const vec4 &rhs)
 
vec4operator[] (unsigned int i)
 
const vec4operator[] (unsigned int i) const
 
const floatvalue_ptr () const
 
floatvalue_ptr ()
 
 mat4 ()
 
 mat4 (float s)
 
 mat4 (float c00, float c01, float c02, float c03, float c10, float c11, float c12, float c13, float c20, float c21, float c22, float c23, float c30, float c31, float c32, float c33)
 
 mat4 (const float *mat)
 
 mat4 ()
 
 mat4 (float s)
 
 mat4 (float c00, float c01, float c02, float c03, float c10, float c11, float c12, float c13, float c20, float c21, float c22, float c23, float c30, float c31, float c32, float c33)
 
 mat4 (const float *mat)
 
 mat4 ()
 
 mat4 (float s)
 
mat4 operator* (const mat4 &rhs)
 
mat4 operator* (const float s)
 
vec4 operator* (const vec4 &rhs)
 
vec4operator[] (unsigned int i)
 
const vec4operator[] (unsigned int i) const
 
const floatvalue_ptr () const
 
floatvalue_ptr ()
 
 mat4 ()
 
 mat4 (float s)
 
 mat4 (float c00, float c01, float c02, float c03, float c10, float c11, float c12, float c13, float c20, float c21, float c22, float c23, float c30, float c31, float c32, float c33)
 
 mat4 (const float *mat)
 
 mat4 ()
 
 mat4 (float s)
 
mat4 operator* (const mat4 &rhs)
 
mat4 operator* (const float s)
 
vec4 operator* (const vec4 &rhs)
 
vec4operator[] (unsigned int i)
 
const vec4operator[] (unsigned int i) const
 
const floatvalue_ptr () const
 
floatvalue_ptr ()
 
 mat4 ()
 
 mat4 (float s)
 
mat4 operator* (const mat4 &rhs)
 
mat4 operator* (const float s)
 
vec4 operator* (const vec4 &rhs)
 
vec4operator[] (unsigned int i)
 
const vec4operator[] (unsigned int i) const
 
const floatvalue_ptr () const
 
floatvalue_ptr ()
 

Public Attributes

vec4 x
 
vec4 y
 
vec4 z
 
vec4 w
 
float data [16]
 

Detailed Description

Definition at line 104 of file matrix.h.

Member Typedef Documentation

Definition at line 152 of file vector_math.h.

Definition at line 166 of file vector_math.h.

Constructor & Destructor Documentation

mat4::mat4 ( )
inline

Definition at line 108 of file matrix.h.

mat4::mat4 ( float  s)
inlineexplicit

Definition at line 109 of file matrix.h.

mat4::mat4 ( )
inline

Definition at line 153 of file vector_math.h.

mat4::mat4 ( float  s)
inline

Definition at line 154 of file vector_math.h.

mat4::mat4 ( float  c00,
float  c01,
float  c02,
float  c03,
float  c10,
float  c11,
float  c12,
float  c13,
float  c20,
float  c21,
float  c22,
float  c23,
float  c30,
float  c31,
float  c32,
float  c33 
)
inline

Definition at line 155 of file vector_math.h.

mat4::mat4 ( const float mat)
inline

Definition at line 165 of file vector_math.h.

mat4::mat4 ( )
inline

Definition at line 139 of file vector_math.h.

mat4::mat4 ( float  s)
inline

Definition at line 140 of file vector_math.h.

mat4::mat4 ( float  c00,
float  c01,
float  c02,
float  c03,
float  c10,
float  c11,
float  c12,
float  c13,
float  c20,
float  c21,
float  c22,
float  c23,
float  c30,
float  c31,
float  c32,
float  c33 
)
inline

Definition at line 141 of file vector_math.h.

mat4::mat4 ( const float mat)
inline

Definition at line 151 of file vector_math.h.

mat4::mat4 ( )
inline

Definition at line 108 of file matrix.h.

mat4::mat4 ( float  s)
inlineexplicit

Definition at line 109 of file matrix.h.

mat4::mat4 ( )
inline

Definition at line 101 of file vector_math.h.

mat4::mat4 ( float  s)
inline

Definition at line 102 of file vector_math.h.

mat4::mat4 ( float  c00,
float  c01,
float  c02,
float  c03,
float  c10,
float  c11,
float  c12,
float  c13,
float  c20,
float  c21,
float  c22,
float  c23,
float  c30,
float  c31,
float  c32,
float  c33 
)
inline

Definition at line 103 of file vector_math.h.

mat4::mat4 ( const float mat)
inline

Definition at line 113 of file vector_math.h.

mat4::mat4 ( )
inline

Definition at line 108 of file matrix.h.

mat4::mat4 ( float  s)
inlineexplicit

Definition at line 109 of file matrix.h.

mat4::mat4 ( )
inline

Definition at line 108 of file matrix.h.

mat4::mat4 ( float  s)
inlineexplicit

Definition at line 109 of file matrix.h.

Member Function Documentation

mat4 mat4::operator* ( const mat4 rhs)
inline

Definition at line 117 of file matrix.h.

mat4 mat4::operator* ( const mat4 rhs)
inline

Definition at line 117 of file matrix.h.

mat4 mat4::operator* ( const mat4 rhs)
inline

Definition at line 117 of file matrix.h.

mat4 mat4::operator* ( const mat4 rhs)
inline

Definition at line 117 of file matrix.h.

mat4 mat4::operator* ( const float  s)
inline

Definition at line 133 of file matrix.h.

mat4 mat4::operator* ( const float  s)
inline

Definition at line 133 of file matrix.h.

mat4 mat4::operator* ( const float  s)
inline

Definition at line 134 of file matrix.h.

mat4 mat4::operator* ( const float  s)
inline

Definition at line 134 of file matrix.h.

vec4 mat4::operator* ( const vec4 rhs)
inline

Definition at line 143 of file matrix.h.

vec4 mat4::operator* ( const vec4 rhs)
inline

Definition at line 143 of file matrix.h.

vec4 mat4::operator* ( const vec4 rhs)
inline

Definition at line 144 of file matrix.h.

vec4 mat4::operator* ( const vec4 rhs)
inline

Definition at line 144 of file matrix.h.

vec4& mat4::operator[] ( unsigned int  i)
inline

Definition at line 148 of file matrix.h.

vec4& mat4::operator[] ( unsigned int  i)
inline

Definition at line 148 of file matrix.h.

vec4& mat4::operator[] ( unsigned int  i)
inline

Definition at line 149 of file matrix.h.

const vec4& mat4::operator[] ( unsigned int  i) const
inline

Definition at line 149 of file matrix.h.

vec4& mat4::operator[] ( unsigned int  i)
inline

Definition at line 149 of file matrix.h.

const vec4& mat4::operator[] ( unsigned int  i) const
inline

Definition at line 149 of file matrix.h.

const vec4& mat4::operator[] ( unsigned int  i) const
inline

Definition at line 150 of file matrix.h.

const vec4& mat4::operator[] ( unsigned int  i) const
inline

Definition at line 150 of file matrix.h.

const float* mat4::value_ptr ( ) const
inline

Definition at line 150 of file matrix.h.

const float* mat4::value_ptr ( ) const
inline

Definition at line 150 of file matrix.h.

const float* mat4::value_ptr ( ) const
inline

Definition at line 151 of file matrix.h.

float* mat4::value_ptr ( )
inline

Definition at line 151 of file matrix.h.

const float* mat4::value_ptr ( ) const
inline

Definition at line 151 of file matrix.h.

float* mat4::value_ptr ( )
inline

Definition at line 151 of file matrix.h.

float* mat4::value_ptr ( )
inline

Definition at line 152 of file matrix.h.

float* mat4::value_ptr ( )
inline

Definition at line 152 of file matrix.h.

Member Data Documentation

float mat4::data

Definition at line 151 of file vector_math.h.

vec4 mat4::w

Definition at line 106 of file matrix.h.

vec4 mat4::x

Definition at line 106 of file matrix.h.

vec4 mat4::y

Definition at line 106 of file matrix.h.

vec4 mat4::z

Definition at line 106 of file matrix.h.


The documentation for this struct was generated from the following files: