libHSPlasma
|
#include <hsMatrix44.h>
Public Types | |
enum | { kRight, kUp, kView } |
Public Member Functions | |
hsMatrix44 () | |
void | Reset () |
bool | IsIdentity () const |
float | operator() (int y, int x) const |
float & | operator() (int y, int x) |
bool | operator== (const hsMatrix44 &other) const |
const float * | glMatrix () const |
hsMatrix44 | operator* (const hsMatrix44 &right) const |
hsVector3 | multPoint (const hsVector3 &point) const |
hsVector3 | multVector (const hsVector3 &vec) const |
hsMatrix44 | inverse () const |
hsMatrix44 & | translate (const hsVector3 &translate) |
hsMatrix44 & | rotate (int axis, float angle) |
hsMatrix44 & | scale (const hsVector3 &scale) |
hsMatrix44 & | setTranslate (const hsVector3 &translate) |
hsMatrix44 & | setRotate (int axis, float angle) |
hsMatrix44 & | setScale (const hsVector3 &scale) |
void | read (hsStream *S) |
void | write (hsStream *S) |
void | prcWrite (pfPrcHelper *prc) |
void | prcParse (const pfPrcTag *tag) |
plString | toString () const |
Static Public Member Functions | |
static hsMatrix44 | Identity () |
static hsMatrix44 | TranslateMat (const hsVector3 &translate) |
static hsMatrix44 | RotateMat (int axis, float angle) |
static hsMatrix44 | ScaleMat (const hsVector3 &scale) |
hsMatrix44::hsMatrix44 | ( | ) |
const float* hsMatrix44::glMatrix | ( | ) | const |
|
static |
hsMatrix44 hsMatrix44::inverse | ( | ) | const |
bool hsMatrix44::IsIdentity | ( | ) | const |
float hsMatrix44::operator() | ( | int | y, |
int | x | ||
) | const |
float& hsMatrix44::operator() | ( | int | y, |
int | x | ||
) |
hsMatrix44 hsMatrix44::operator* | ( | const hsMatrix44 & | right | ) | const |
bool hsMatrix44::operator== | ( | const hsMatrix44 & | other | ) | const |
void hsMatrix44::prcParse | ( | const pfPrcTag * | tag | ) |
void hsMatrix44::prcWrite | ( | pfPrcHelper * | prc | ) |
void hsMatrix44::read | ( | hsStream * | S | ) |
void hsMatrix44::Reset | ( | ) |
hsMatrix44& hsMatrix44::rotate | ( | int | axis, |
float | angle | ||
) |
|
static |
hsMatrix44& hsMatrix44::scale | ( | const hsVector3 & | scale | ) |
|
static |
hsMatrix44& hsMatrix44::setRotate | ( | int | axis, |
float | angle | ||
) |
hsMatrix44& hsMatrix44::setScale | ( | const hsVector3 & | scale | ) |
hsMatrix44& hsMatrix44::setTranslate | ( | const hsVector3 & | translate | ) |
plString hsMatrix44::toString | ( | ) | const |
hsMatrix44& hsMatrix44::translate | ( | const hsVector3 & | translate | ) |
|
static |
void hsMatrix44::write | ( | hsStream * | S | ) |