Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl/osiriongl.h')
-rw-r--r--src/gl/osiriongl.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/gl/osiriongl.h b/src/gl/osiriongl.h
index 26ff131..5a1f9f9 100644
--- a/src/gl/osiriongl.h
+++ b/src/gl/osiriongl.h
@@ -1,23 +1,28 @@
-/* gl.h
- This file is part of the Osirion project
+/*
+ gl/osiriongl.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
*/
#ifndef __INCLUDED_OSIRIONGL_H__
#define __INCLUDED_OSIRIONGL_H__
-// OpenGL headers
-#include <GL/gl.h>
-
// project headers
#include "common/vector3f.h"
#include "common/color.h"
+// OpenGL headers
+#include <GL/gl.h>
+
/// wrapper namespace for OpenGL operations
/*! The GL namespace provides a wrapper to the OpenGL library functions.
* All methods take floats or Vector3f and Color as parameters.
*/
namespace gl
{
+ using common::Vector3f;
+ using common::Color;
+
/// initialize the OpenGL subsystem
void init();