clouds
This commit is contained in:
@@ -16,15 +16,15 @@ class Object
|
||||
public:
|
||||
GLfloat vertices[16];
|
||||
|
||||
glm::vec2 Position, Size;
|
||||
float Rotation = 0.0f;
|
||||
glm::vec2 position, size;
|
||||
float rotation = 0.0f;
|
||||
int blockType;
|
||||
Texture Sprite;
|
||||
Texture sprite;
|
||||
c2AABB objectBody;
|
||||
GLuint quadVAO, VBO, EBO;
|
||||
|
||||
glm::vec4 spriteUVs;
|
||||
tileSet* spriteSheet = new tileSet(Sprite, glm::vec2(10, 10));
|
||||
tileSet* spriteSheet = new tileSet(sprite, glm::ivec2(10, 10));
|
||||
|
||||
Object(Texture sprite, glm::vec2 pos, glm::vec2 size, int blockType = 2);
|
||||
~Object();
|
||||
|
||||
Reference in New Issue
Block a user