mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-03-28 18:03:44 +00:00
feat: replace triangle test by cube
This commit is contained in:
22
inc/cube.hpp
22
inc/cube.hpp
@@ -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
|
||||
Reference in New Issue
Block a user