chore(camera)!: replace global glm headers with separated ones

This commit is contained in:
2025-12-28 18:02:35 +01:00
parent bcc999e4a7
commit 9d99f9444f
2 changed files with 7 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
#ifndef CAMERA_HPP #ifndef CAMERA_HPP
#define CAMERA_HPP #define CAMERA_HPP
#include "glm/glm.hpp" #include "glm/ext/vector_float3.hpp"
#include "glm/gtc/matrix_transform.hpp" #include "glm/ext/matrix_float4x4.hpp"
struct GLFWwindow; struct GLFWwindow;

View File

@@ -1,7 +1,10 @@
#include "camera.hpp" #include "camera.hpp"
#include <glad/glad.h> #include "glad/glad.h"
#include <GLFW/glfw3.h> #include "GLFW/glfw3.h"
#include "glm/ext/matrix_transform.hpp"
#include "glm/ext/matrix_clip_space.hpp"
Camera::Camera(int width, int height, GLFWwindow* window, float sensitivity) Camera::Camera(int width, int height, GLFWwindow* window, float sensitivity)
: width(width), : width(width),