16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-17 23:39:18 +02:00

Enable GLM_FORCE_DEFAULT_ALIGNED_GENTYPES

This commit is contained in:
2026-05-06 20:41:01 +02:00
parent 02cffbe4ad
commit 7525b54ff1
5 changed files with 37 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ operator!=( lighting_data const &Left, lighting_data const &Right ) {
namespace scene {
struct bounding_area {
glm::highp_dvec3 center; // mid point of the rectangle
glm::dvec3 center; // mid point of the rectangle
float radius { -1.0f }; // radius of the bounding sphere
bounding_area() = default;
@@ -94,7 +94,7 @@ public:
material_handle material { null_handle };
lighting_data lighting;
// geometry data
glm::highp_dvec3 origin; // world position of the relative coordinate system origin
glm::dvec3 origin; // world position of the relative coordinate system origin
gfx::geometry_handle geometry { 0, 0 }; // relative origin-centered chunk of geometry held by gfx renderer
std::vector<world_vertex> vertices; // world space source data of the geometry
gfx::userdata_array userdata;