From 5c46e0f0a924989201c6784b0f956bc442f14a7e Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 09:17:35 -0600 Subject: -removed glm library, its in the debian repos -made opengl and sdl folders in includes, moved various *hpps to them --- inc/opengl/graphicsdata.hpp | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 inc/opengl/graphicsdata.hpp (limited to 'inc/opengl/graphicsdata.hpp') diff --git a/inc/opengl/graphicsdata.hpp b/inc/opengl/graphicsdata.hpp new file mode 100644 index 0000000..df8d76e --- /dev/null +++ b/inc/opengl/graphicsdata.hpp @@ -0,0 +1,49 @@ +#ifndef graphicsdata_h +#define graphicsdata_h + +#include +#include + +#include "camera.hpp" + +class GraphicsData +{ + public: + + float x; + float y; + float r; + float g; + float b; + float sides; + + GraphicsData(){ + this->x = 0; + this->y = 0; + this->r = 0; + this->g = 0; + this->b = 0; + this->sides = 0; + } + + + GraphicsData(float x,float y,float r,float g,float b,float sides){ + this->x = 0; + this->y = 0; + this->r = 0; + this->g = 0; + this->b = 0; + this->sides = 0; + } + + float getX(){ + return x; + } + + float getY(){ + return y; + } + +}; + +#endif -- cgit v1.2.3