aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/vertex.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-04-04 12:19:41 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-04-04 12:19:41 +0100
commit55a1e0ad7c9d2661c266b2e767bfcb2f944e859f (patch)
treefe3ac90ab853e2f87bd33294976a3fc56e144988 /include/YAGE/vertex.hpp
parentaa67c8bb56cb750ac83ecbd361439f5ecb5e12d9 (diff)
downloadYAGE-55a1e0ad7c9d2661c266b2e767bfcb2f944e859f.tar.gz
YAGE-55a1e0ad7c9d2661c266b2e767bfcb2f944e859f.zip
Adding spritebatch class
Diffstat (limited to 'include/YAGE/vertex.hpp')
-rw-r--r--include/YAGE/vertex.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/YAGE/vertex.hpp b/include/YAGE/vertex.hpp
index d9ab1138..5826aeee 100644
--- a/include/YAGE/vertex.hpp
+++ b/include/YAGE/vertex.hpp
@@ -3,6 +3,9 @@
#include <GL/glew.h>
+namespace yage
+{
+
struct Position
{
float x;
@@ -49,5 +52,7 @@ struct Vertex
uv.v = v;
}
};
+
+} // yage
#endif