diff options
Diffstat (limited to 'include/common.hpp')
-rw-r--r-- | include/common.hpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/include/common.hpp b/include/common.hpp index 12a7a50..8d74cda 100644 --- a/include/common.hpp +++ b/include/common.hpp @@ -50,15 +50,6 @@ typedef unsigned int uint; #undef near #endif -// Enables special message printing in the case of segfault debugging (unnecessary?) -//#define SEGFAULT - -#ifdef SEGFAULT -#define C(x) std::cout << x << '\n' -#else -#define C(x) -#endif - /** * Prints a formatted string to the terminal with file and line number, for debugging */ @@ -68,7 +59,7 @@ typedef unsigned int uint; * Creates a coordinate of integers. */ typedef struct { - int x; /**< The x coordinate */ + int x; /**< The x coordinate */ int y; /**< The y coordinate */ } ivec2; @@ -215,18 +206,6 @@ constexpr const float MSEC_PER_TICK = 1000.0f / TICKS_PER_SEC; std::vector<std::string> StringTokenizer(const std::string& str, char delim); /** - * A function used to tell the program what shader, attributes, and uniforms - * we want to draw our rectangles to. - * - * @see drawRect - * @param the shader - * @param the 'texture uniform' - * @param the 'coord attribute' - * @param the 'texture coord attribute' - */ -void useShader(GLuint *sh, GLint *tu, GLint *ca, GLint *ta); - -/** * A function to draw a colored box for OpenGL. * To use it, the lower left hand and upper right hand coords are given. * |