Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MatrixStack.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "cinder/Matrix.h"
4 
5 #include <vector>
6 
7 namespace cinder {
8 
10 {
11  public:
12  MatrixStack();
13  void push();
14  void push(const Matrix44f &matrix);
15  void pop();
16  Matrix44f &top();
17 
18  //private:
19  std::vector<Matrix44f> mStack;
20 };
21 
22 }
GLuint GLenum matrix
Definition: GLee.h:10032
Definition: MatrixStack.h:9
std::vector< Matrix44f > mStack
Definition: MatrixStack.h:19
void pop()
Definition: MatrixStack.cpp:20
Matrix44f & top()
Definition: MatrixStack.cpp:25
MatrixStack()
Definition: MatrixStack.cpp:5
void push()
Definition: MatrixStack.cpp:10