28 void translate(
const vec3& translation );
29 void translate(
const vec2& translation );
30 void rotate(
const quat& rotation );
void translate(const vec3 &translation)
Definition: render.cpp:99
const ga::mat4 & getMatrix(MatrixType type=MatrixType::MODEL)
Definition: render.cpp:73
void setMatrix(const ga::mat4 &matrix, MatrixType type=MatrixType::MODEL)
Definition: render.cpp:52
Color m_globalColor
Definition: render.h:46
void pushMatrix(MatrixType type=MatrixType::MODEL)
Definition: render.cpp:10
void popMatrix(MatrixType type=MatrixType::MODEL)
Definition: render.cpp:28
void rotate(const quat &rotation)
Definition: render.cpp:109
void clear(const ga::Color &color)
Definition: render.cpp:132
void scale(const vec3 &scale)
Definition: render.cpp:114
const ga::Color & getGlobalColor()
Definition: render.cpp:127
std::map< MatrixType, ga::mat4 > m_matrices
Definition: render.h:41
void setGlobalColor(const ga::Color &color)
Definition: render.cpp:119
void multMatrix(const ga::mat4 &matrix, MatrixType type=MatrixType::MODEL)
Definition: render.cpp:78
std::map< MatrixType, std::vector< ga::mat4 > > m_matrixStack
Definition: render.h:45
ga::vec4 Color
Definition: color.h:12
MatrixType
Definition: render.h:10
Renderer & getRenderer()
Definition: render.h:50
MatrixType m_type
Definition: render.h:70
Renderer * m_renderer
Definition: render.h:71
~MatrixScope()
Definition: render.h:64
MatrixScope(MatrixType type=MatrixType::MODEL, Renderer &renderer=getRenderer())
Definition: render.h:58