]> git.tdb.fi Git - libs/gl.git/blobdiff - source/matrix.cpp
Require mspgbase now that Image was moved there
[libs/gl.git] / source / matrix.cpp
index 925961b4e0833e60b3994a014c87ab7bc147f199..7a91078621e647d293af0628d06044c95e719fcd 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include "matrix.h"
 
 namespace Msp {
@@ -13,6 +20,16 @@ void load_identity()
        glLoadIdentity();
 }
 
+void mult_matrix(const float *matrix)
+{
+       glMultMatrixf(matrix);
+}
+
+void mult_matrix(const double *matrix)
+{
+       glMultMatrixd(matrix);
+}
+
 void push_matrix()
 {
        glPushMatrix();