From 220bcb0cb8ab4c1dcea5c21a0f80e4f4f6393866 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 20 Feb 2025 12:20:11 -0500 Subject: pke: glm include cleanup --- src/camera.cpp | 2 +- src/font.hpp | 3 +-- src/static-cube.hpp | 3 +-- src/static-plane.hpp | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/camera.cpp b/src/camera.cpp index eadea85..21617bf 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -6,7 +6,7 @@ #include "ecs.hpp" #include "math-helpers.hpp" #include "physics.hpp" -#include +#include "vendor-glm-include.hpp" PkeCamera NullCamera {}; CompInstance NullCameraInstance{}; diff --git a/src/font.hpp b/src/font.hpp index 9b43da2..46ffcf9 100644 --- a/src/font.hpp +++ b/src/font.hpp @@ -5,8 +5,7 @@ #include "components.hpp" #include "pk.h" -#include -#include +#include "vendor-glm-include.hpp" TypeSafeInt_H(FontTypeIndex, uint16_t, 0xFFFF); TypeSafeInt_H(FontRenderIndex, uint16_t, 0xFFFF); diff --git a/src/static-cube.hpp b/src/static-cube.hpp index 77ff439..c06baa6 100644 --- a/src/static-cube.hpp +++ b/src/static-cube.hpp @@ -1,8 +1,7 @@ #ifndef PKE_STATIC_CUBE_HPP #define PKE_STATIC_CUBE_HPP -#include -#include +#include "vendor-glm-include.hpp" struct IntrinsicShapeCube { glm::vec3 vert[8]; diff --git a/src/static-plane.hpp b/src/static-plane.hpp index 097a779..7efe44f 100644 --- a/src/static-plane.hpp +++ b/src/static-plane.hpp @@ -1,8 +1,7 @@ #ifndef PKE_STATIC_PLANE_HPP #define PKE_STATIC_PLANE_HPP -#include -#include +#include "vendor-glm-include.hpp" struct IntrinsicShapePlane { glm::vec2 vert[4]; -- cgit v1.2.3