From ce72a4975b76c1f244221d7d11e6a4eebc98b99b Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 19 May 2018 20:23:53 +0100 Subject: Using pragma instead of gards The reason for this is that it reduces clashes between names. --- yage/data/cube.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yage/data/cube.h') 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[] = { -- cgit