feat: replace triangle test by cube

This commit is contained in:
2026-02-15 20:10:17 +01:00
parent a674c391a8
commit ff7a82f646
13 changed files with 149 additions and 117 deletions

View File

@@ -1,14 +1,14 @@
#ifndef CUBE_HPP
#define CUBE_HPP
// #ifndef CUBE_HPP
// #define CUBE_HPP
#include "glm/ext/vector_float3.hpp"
#include "shape.hpp"
// #include "glm/ext/vector_float3.hpp"
// #include "shape.hpp"
class Cube : public Shape
{
public:
Cube(Camera &camera, glm::vec3 pos, const char *texture);
void render(int width, int height) override;
};
// class Cube : public Shape
// {
// public:
// Cube(Camera &camera, glm::vec3 pos, const char *texture);
// void render(int width, int height) override;
// };
#endif
// #endif