+ | Multiple sphere sent to GPU working

This commit is contained in:
TheRedShip
2024-12-24 01:44:53 +01:00
parent 7b56daf149
commit 216e9a684a
10 changed files with 166 additions and 62 deletions

View File

@ -16,7 +16,6 @@
# define WIDTH 1920
# define HEIGHT 1080
# include "glm/glm.hpp"
# include "glm/gtc/matrix_transform.hpp"
# include "glm/gtc/type_ptr.hpp"
@ -24,14 +23,17 @@
# include "glad/gl.h"
# include "GLFW/glfw3.h"
# include <iostream>
# include <memory>
struct Vertex {
glm::vec2 position;
glm::vec2 texCoord;
};
# include "Object.hpp"
# include "objects/Sphere.hpp"
# include "Camera.hpp"
# include "Window.hpp"
# include "Shader.hpp"