]> git.tdb.fi Git - libs/gl.git/blobdiff - source/matrix.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / matrix.cpp
diff --git a/source/matrix.cpp b/source/matrix.cpp
deleted file mode 100644 (file)
index 9af850d..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include "matrix.h"
-
-namespace Msp {
-namespace GL {
-
-void matrix_mode(MatrixMode m)
-{
-       glMatrixMode(m);
-}
-
-void load_identity()
-{
-       glLoadIdentity();
-}
-
-void load_matrix(const float *matrix)
-{
-       glLoadMatrixf(matrix);
-}
-
-void load_matrix(const double *matrix)
-{
-       glLoadMatrixd(matrix);
-}
-
-void mult_matrix(const float *matrix)
-{
-       glMultMatrixf(matrix);
-}
-
-void mult_matrix(const double *matrix)
-{
-       glMultMatrixd(matrix);
-}
-
-void push_matrix()
-{
-       glPushMatrix();
-}
-
-void pop_matrix()
-{
-       glPopMatrix();
-}
-
-void translate(float x, float y, float z)
-{
-       glTranslatef(x, y, z);
-}
-
-void rotate(float a, float x, float y, float z)
-{
-       glRotatef(a, x, y, z);
-}
-
-void scale(float x, float y, float z)
-{
-       glScalef(x, y, z);
-}
-
-void scale_uniform(float s)
-{
-       scale(s, s, s);
-}
-
-} // namespace GL
-} // namespace Msp