OpenGLTests/src/objects/primitives/Cube.hpp
2020-09-04 21:13:22 +02:00

15 lines
188 B
C++

#pragma once
#include "Shader.hpp"
class Cube
{
public:
Cube(float x, float y, float z, float a);
~Cube();
void Draw(const Shader& program);
private:
unsigned int VAO, VBO, EBO;
};