ScummVM API documentation
TinyGL::Matrix4 Class Reference

Public Member Functions

bool isIdentity () const
 
Matrix4 operator+ (const Matrix4 &b) const
 
Matrix4 operator- (const Matrix4 &b) const
 
Matrix4 operator* (const Matrix4 &b) const
 
Matrix4operator*= (const Matrix4 &b)
 
void scale (float x, float y, float z)
 
void translate (float x, float y, float z)
 
void identity ()
 
void rotation (float t, int)
 
void invert ()
 
void transpose ()
 
Matrix4 transpose () const
 
Matrix4 inverseOrtho () const
 
Matrix4 inverse () const
 
void transform (const Vector3 &vector, Vector3 &out) const
 
void transform3x3 (const Vector3 &vector, Vector3 &out) const
 
void transform3x3 (const Vector4 &vector, Vector3 &out) const
 
void transform3x4 (const Vector4 &vector, Vector4 &out) const
 
void transform (const Vector4 &vector, Vector4 &out) const
 

Static Public Member Functions

static Matrix4 frustum (float left, float right, float bottom, float top, float nearp, float farp)
 

Public Attributes

float _m [4][4]
 

The documentation for this class was generated from the following file: