summaryrefslogtreecommitdiff
path: root/inc/opengl/graphicsdata.hpp
blob: df8d76eba2210055ce321e4fee809acf7e0284ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef graphicsdata_h
#define graphicsdata_h

#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>

#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