aboutsummaryrefslogtreecommitdiffstats
path: root/yage/data/cube.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-19 20:23:53 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-19 20:23:53 +0100
commitce72a4975b76c1f244221d7d11e6a4eebc98b99b (patch)
treeb50ba73b4e4a14f66b281c05fd5a52e960b94076 /yage/data/cube.h
parentfe4ef72bde8e93589922a60b3a03dbb148a00b57 (diff)
downloadYAGE-ce72a4975b76c1f244221d7d11e6a4eebc98b99b.tar.gz
YAGE-ce72a4975b76c1f244221d7d11e6a4eebc98b99b.zip
Using pragma instead of gards
The reason for this is that it reduces clashes between names.
Diffstat (limited to 'yage/data/cube.h')
-rw-r--r--yage/data/cube.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/yage/data/cube.h b/yage/data/cube.h
index 2aef00e5..070052c8 100644
--- a/yage/data/cube.h
+++ b/yage/data/cube.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "glad/glad.h"
static const GLfloat gl_cube_buffer[] = {