mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 07:34:16 +00:00
chore(camera)!: replace global glm headers with separated ones
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user