]> Dogcows Code - chaz/yoink/blobdiff - src/moof/opengl.hh
the massive refactoring effort
[chaz/yoink] / src / moof / opengl.hh
similarity index 86%
rename from src/Moof/OpenGL.hh
rename to src/moof/opengl.hh
index 05d8317caefa4b001f3bdf67a23072945aaa82dc..7608cda61508e68cf8f4a435e718915044e1e5be 100644 (file)
 #ifndef _MOOF_OPENGL_HH_
 #define _MOOF_OPENGL_HH_
 
+/**
+ * \file opengl.hh
+ * Defines macros for OpenGL functions that operate on scalars, vectors,
+ * and matrices.
+ */
+
 #include <SDL/SDL_opengl.h>
 
-#include <Moof/Math.hh>
+#include <moof/math.hh>
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -26,7 +32,7 @@
 #define ARGS_P         const GLscalar* p
 #define PASS_P         p
 
-#define ARGS_M         const Mf::Matrix4& m
+#define ARGS_M         const moof::matrix4& m
 #define PASS_M         m.data()
 
 // ordinal function arguments
 #define ARGS_S4                GLscalar a, GLscalar b, GLscalar c, GLscalar d
 #define PASS_S4                a, b, c, d
 
-#define ARGS_P2                const Mf::Vector2& p
+#define ARGS_P2                const moof::vector2& p
 #define PASS_P2                p.data()
-#define ARGS_P3                const Mf::Vector3& p
+#define ARGS_P3                const moof::vector3& p
 #define PASS_P3                p.data()
-#define ARGS_P4                const Mf::Vector4& p
+#define ARGS_P4                const moof::vector4& p
 #define PASS_P4                p.data()
 
-#define ARGS_V2                const Mf::Vector2& v
+#define ARGS_V2                const moof::vector2& v
 #define PASS_V2                v[0], v[1]
-#define ARGS_V3                const Mf::Vector3& v
+#define ARGS_V3                const moof::vector3& v
 #define PASS_V3                v[0], v[1], v[2]
-#define ARGS_V4                const Mf::Vector4& v
+#define ARGS_V4                const moof::vector4& v
 #define PASS_V4                v[0], v[1], v[2], v[3]
 
 
This page took 0.022202 seconds and 4 git commands to generate.