mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
84 lines
2.3 KiB
C++
84 lines
2.3 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* RT.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: ycontre <ycontre@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/09/27 14:52:10 by TheRed #+# #+# */
|
|
/* Updated: 2025/02/21 14:53:36 by tomoron ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef RT__HPP
|
|
# define RT__HPP
|
|
|
|
# define WIDTH 1920
|
|
# define HEIGHT 1080
|
|
|
|
#define GLM_ENABLE_EXPERIMENTAL
|
|
|
|
# include "glm/glm.hpp"
|
|
# include "glm/gtx/string_cast.hpp"
|
|
# include "glm/gtc/matrix_transform.hpp"
|
|
# include "glm/gtc/type_ptr.hpp"
|
|
# include "glm/gtx/euler_angles.hpp"
|
|
|
|
# include "glad/gl.h"
|
|
# include "GLFW/glfw3.h"
|
|
|
|
# include "imgui/imgui.h"
|
|
# include "imgui/imgui_impl_glfw.h"
|
|
# include "imgui/imgui_impl_opengl3.h"
|
|
|
|
# include <filesystem>
|
|
# include <algorithm>
|
|
# include <string.h>
|
|
# include <iostream>
|
|
# include <iomanip>
|
|
# include <fstream>
|
|
# include <sstream>
|
|
# include <chrono>
|
|
# include <vector>
|
|
# include <string>
|
|
# include <memory>
|
|
# include <set>
|
|
# include <map>
|
|
|
|
# include <sys/socket.h>
|
|
# include <netinet/in.h>
|
|
# include <arpa/inet.h>
|
|
# include <fcntl.h>
|
|
# include <poll.h>
|
|
|
|
struct Vertex {
|
|
glm::vec2 position;
|
|
glm::vec2 texCoord;
|
|
};
|
|
|
|
# include "Object.hpp"
|
|
# include "objects/Sphere.hpp"
|
|
# include "objects/Plane.hpp"
|
|
# include "objects/Quad.hpp"
|
|
# include "objects/Triangle.hpp"
|
|
# include "objects/Cube.hpp"
|
|
# include "objects/Portal.hpp"
|
|
# include "objects/Cylinder.hpp"
|
|
|
|
# include "Buffer.hpp"
|
|
# include "Arguments.hpp"
|
|
# include "Camera.hpp"
|
|
# include "Renderer.hpp"
|
|
# include "Window.hpp"
|
|
# include "ShaderProgram.hpp"
|
|
# include "Shader.hpp"
|
|
# include "Scene.hpp"
|
|
# include "SceneParser.hpp"
|
|
# include "ObjParser.hpp"
|
|
# include "BVH.hpp"
|
|
# include "Clusterizer.hpp"
|
|
|
|
|
|
|
|
#endif
|