]> git.tdb.fi Git - libs/gl.git/blob - source/matrix.cpp
Add vertex arrays and buffers
[libs/gl.git] / source / matrix.cpp
1 #include "matrix.h"
2
3 namespace Msp {
4 namespace GL {
5
6 void matrix_mode(MatrixMode m)
7 {
8         glMatrixMode(m);
9 }
10
11 void load_identity()
12 {
13         glLoadIdentity();
14 }
15
16 void push_matrix()
17 {
18         glPushMatrix();
19 }
20
21 void pop_matrix()
22 {
23         glPopMatrix();
24 }
25
26 } // namespace GL
27 } // namespace Msp