BlockGame/blocks/BaseBlock.h

27 lines
454 B
C
Raw Normal View History

2022-02-05 20:44:31 +00:00
//
// Created by lukas on 04.02.22.
//
#ifndef OPENGLTEST_BASEBLOCK_H
#define OPENGLTEST_BASEBLOCK_H
#include "BlockRenderer.h"
2022-02-06 21:53:29 +00:00
#include "../gl/Texture.h"
2022-02-10 17:24:56 +00:00
#include <glm/ext/matrix_float4x4.hpp>
#include <glm/ext/matrix_transform.hpp>
2022-02-05 20:44:31 +00:00
class BaseBlock {
private:
2022-02-06 21:53:29 +00:00
Texture *texture;
uint xpos, ypos, zpos;
2022-02-05 20:44:31 +00:00
public:
2022-02-06 21:53:29 +00:00
BaseBlock(uint xpos, uint ypos, uint zpos, Texture *texture);
2022-02-05 20:44:31 +00:00
2022-02-10 17:24:56 +00:00
virtual void render();
2022-02-05 20:44:31 +00:00
};
#endif //OPENGLTEST_BASEBLOCK_H