glmatrixf Struct Reference

#include <geom.h>

List of all members.

Public Member Functions

float operator[] (int i) const
float & operator[] (int i)
void rotate_around_x (float angle)
void rotate_around_y (float angle)
void rotate_around_z (float angle)
template<class XT , class YT >
void mul (const XT x[16], const YT y[16])
void mul (const glmatrixf &x, const glmatrixf &y)
void identity ()
void translate (float x, float y, float z)
void translate (const vec &o)
void scale (float x, float y, float z)
void projective ()
void invertnormal (vec &dir) const
void invertvertex (vec &pos) const
float transformx (const vec &p) const
float transformy (const vec &p) const
float transformz (const vec &p) const
float transformw (const vec &p) const
void transform (const vec &in, vec4 &out) const
vec gettranslation () const
float determinant () const
void adjoint (const glmatrixf &m)
bool invert (const glmatrixf &m, float mindet=1.0e-10f)

Public Attributes

float v [16]


Member Function Documentation

void glmatrixf::adjoint ( const glmatrixf &  m  ) 

float glmatrixf::determinant (  )  const

vec glmatrixf::gettranslation (  )  const [inline]

void glmatrixf::identity (  )  [inline]

bool glmatrixf::invert ( const glmatrixf &  m,
float  mindet = 1.0e-10f 
)

void glmatrixf::invertnormal ( vec &  dir  )  const [inline]

void glmatrixf::invertvertex ( vec &  pos  )  const [inline]

void glmatrixf::mul ( const glmatrixf &  x,
const glmatrixf &  y 
) [inline]

template<class XT , class YT >
void glmatrixf::mul ( const XT  x[16],
const YT  y[16] 
) [inline]

float& glmatrixf::operator[] ( int  i  )  [inline]

float glmatrixf::operator[] ( int  i  )  const [inline]

void glmatrixf::projective (  )  [inline]

void glmatrixf::rotate_around_x ( float  angle  )  [inline]

void glmatrixf::rotate_around_y ( float  angle  )  [inline]

void glmatrixf::rotate_around_z ( float  angle  )  [inline]

void glmatrixf::scale ( float  x,
float  y,
float  z 
) [inline]

void glmatrixf::transform ( const vec &  in,
vec4 &  out 
) const [inline]

float glmatrixf::transformw ( const vec &  p  )  const [inline]

float glmatrixf::transformx ( const vec &  p  )  const [inline]

float glmatrixf::transformy ( const vec &  p  )  const [inline]

float glmatrixf::transformz ( const vec &  p  )  const [inline]

void glmatrixf::translate ( const vec &  o  )  [inline]

void glmatrixf::translate ( float  x,
float  y,
float  z 
) [inline]


Member Data Documentation

float glmatrixf::v[16]


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

Generated on Mon Dec 8 21:41:35 2008 for AssaultCube by  doxygen 1.5.7.1