30 #ifndef RIOENGINE_MISC_MATRIXSTACK_H_
31 #define RIOENGINE_MISC_MATRIXSTACK_H_
36 #include "bullet/matrix/matrices.h"
38 #define MATRIXSTACK CSingleton<Math::MatrixStack>::getSharedInstance()
55 void translate(
float x,
float y,
float z);
56 void scale(
float x,
float y,
float z);
57 void scale(btVector3 scale);
58 void scale(
float scale);
59 void rotate(btQuaternion rot);
60 void rotate(btVector3 vec);
61 void rotate(
float x,
float y,
float z);
64 const std::stack<Matrix4> getStack()
const;
66 Matrix4 m_currentMatrix;
67 std::stack<Matrix4> m_stack;
72 #endif // MATRIXSTACK_H
void translate(btVector3 position)
void scale(float x, float y, float z)
void rotate(btQuaternion rot)