mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
+ | Multiple sphere sent to GPU working
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user