feat(cube): add cube function

This commit is contained in:
2025-11-20 06:56:33 +01:00
parent 5a055f6c39
commit 71ad3a034c
2 changed files with 205 additions and 0 deletions

27
inc/cube.hpp Normal file
View File

@@ -0,0 +1,27 @@
#ifndef CUBE_HPP
#define CUBE_HPP
#include "vbo.hpp"
#include "ebo.hpp"
#include "vao.hpp"
#include "shader.hpp"
#include "texture.hpp"
#include "camera.hpp"
class Cube
{
private:
VBO vbo;
EBO ebo;
VAO vao;
Camera &camera;
Shader shader;
Texture texture;
public:
Cube(Camera &camera);
void loop(int width, int height);
};
#endif