#include <GMatrix16.h>
Public Member Functions | |
GMatrix16 () | |
matrix contents | |
GMatrix16 (const GMatrix16 &m) | |
standard constructor, create a null-matrix | |
~GMatrix16 () | |
copy constructor | |
GMatrix16 | operator* (const GMatrix16 &m) |
standard destructor | |
GMatrix16 | operator= (const GMatrix16 &m) |
multiplication with a matrix | |
GVec4f | operator* (const GVec4f &v) |
assign a matrix | |
GMatrix16 & | operator*= (const GMatrix16 &m) |
multiplication with a vector | |
GMatrix16 | getGlMatrix () |
short multiplication with a matrix | |
Static Public Member Functions | |
static GMatrix16 | GetXRotationMatrix (float pitch) |
get matrix as used by openGl | |
static GMatrix16 | GetYRotationMatrix (float yaw) |
get a matrix for rotation around the x-axis | |
static GMatrix16 | GetZRotationMatrix (float azimuth) |
get a matrix for rotation around the y-axis | |
static GMatrix16 | GetTranslationMatrix (float x, float y, float z) |
get a matrix for rotation around the z-axis | |
static GMatrix16 | GetScalingMatrix (float sx, float sy, float sz) |
get a matrix for translation | |
static GMatrix16 | GetUnityMatrix (void) |
get a matrix for scaling | |
static float | GetDeterminant (GMatrix16 *base) |
get a unity matrix | |
static GMatrix16 | GetInverseMatrix (GMatrix16 *base, float determinant) |
get a matrix determinant | |
static GMatrix16 | GetTransposeMatrix (GMatrix16 *base) |
get the inverse of a matrix using a determinant | |
Public Attributes | |
float | data [16] |
GMatrix16::GMatrix16 | ( | ) |
matrix contents
GMatrix16::GMatrix16 | ( | const GMatrix16 & | m | ) |
standard constructor, create a null-matrix
GMatrix16::~GMatrix16 | ( | ) | [inline] |
copy constructor
float GMatrix16::GetDeterminant | ( | GMatrix16 * | base | ) | [static] |
get a unity matrix
GMatrix16 GMatrix16::getGlMatrix | ( | ) |
short multiplication with a matrix
get a matrix determinant
GMatrix16 GMatrix16::GetScalingMatrix | ( | float | sx, | |
float | sy, | |||
float | sz | |||
) | [static] |
get a matrix for translation
GMatrix16 GMatrix16::GetTranslationMatrix | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
get a matrix for rotation around the z-axis
get the inverse of a matrix using a determinant
GMatrix16 GMatrix16::GetUnityMatrix | ( | void | ) | [static] |
get a matrix for scaling
GMatrix16 GMatrix16::GetXRotationMatrix | ( | float | pitch | ) | [static] |
get matrix as used by openGl
GMatrix16 GMatrix16::GetYRotationMatrix | ( | float | yaw | ) | [static] |
get a matrix for rotation around the x-axis
GMatrix16 GMatrix16::GetZRotationMatrix | ( | float | azimuth | ) | [static] |
get a matrix for rotation around the y-axis
float GMatrix16::data[16] |