BlockGame/blocks/BaseBlock.h
lukas 360a1cc79d add crosshair
blockgen with sin
2022-02-10 18:24:56 +01:00

27 lines
454 B
C++

//
// Created by lukas on 04.02.22.
//
#ifndef OPENGLTEST_BASEBLOCK_H
#define OPENGLTEST_BASEBLOCK_H
#include "BlockRenderer.h"
#include "../gl/Texture.h"
#include <glm/ext/matrix_float4x4.hpp>
#include <glm/ext/matrix_transform.hpp>
class BaseBlock {
private:
Texture *texture;
uint xpos, ypos, zpos;
public:
BaseBlock(uint xpos, uint ypos, uint zpos, Texture *texture);
virtual void render();
};
#endif //OPENGLTEST_BASEBLOCK_H