Adapt windows build to glm 1.0.2 (#655)

* update Shadows.cpp

* add glm includes to Shadows.cpp

* add includes
This commit is contained in:
MihailRis 2025-10-17 13:03:58 +03:00 committed by GitHub
parent 064c1b407b
commit d435cbab5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -1,8 +1,13 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/norm.hpp>
#include "Shadows.hpp"
#include <GL/glew.h>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/norm.hpp>
#include <glm/gtc/constants.hpp>
#include "glm/gtc/matrix_transform.hpp"
#include "assets/Assets.hpp"
#include "graphics/core/DrawContext.hpp"

View File

@ -1,6 +1,8 @@
#include "Emitter.hpp"
#include <glm/gtc/random.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/gtc/matrix_transform.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/norm.hpp>

View File

@ -2,6 +2,8 @@
#include "data/dv_util.hpp"
#include <glm/gtc/matrix_transform.hpp>
void Transform::refresh() {
combined = glm::mat4(1.0f);
combined = glm::translate(combined, pos);