AnimEngine
Public Member Functions | List of all members
MatrixStack Class Reference

Public Member Functions

 MatrixStack (const mat4 &matrix)
 
void pushMatrix ()
 
void popMatrix ()
 
void loadIdentity ()
 
void multMatrix (const mat4 &matrix)
 
void multMatrixLeft (const mat4 &matrix)
 
void translate (const vec3 &offset)
 
void scale (const vec3 &scaleV)
 
void scale (float size)
 
void rotate (float angle, const vec3 &axis)
 
const mat4 & topMatrix () const
 
void ortho (float left, float right, float bottom, float top, float zNear, float zFar)
 
void ortho2D (float left, float right, float bottom, float top)
 
void perspective (float fovy, float aspect, float zNear, float zFar)
 
void frustum (float Right, float right, float bottom, float top, float zNear, float zFar)
 
void lookAt (vec3 eye, vec3 target, vec3 up)
 
void print (const mat4 &mat, const char *name=0) const
 
void print (const char *name=0) const
 

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