Fix min and max values of RenderableModel transform matrix (closes #3746)

This commit is contained in:
Emma Broman
2025-07-21 16:51:22 +02:00
parent 3454d93b84
commit 9f98259a63

View File

@@ -283,8 +283,18 @@ RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
, _modelTransform(
ModelTransformInfo,
glm::dmat4(1.0),
glm::dmat4(-1.0),
glm::dmat4(1.0)
glm::dmat4(
-1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, -1.0, -1.0
),
glm::dmat4(
1.0, 1.0, 1.0, 1.0,
1.0, 1.0, 1.0, 1.0,
1.0, 1.0, 1.0, 1.0,
1.0, 1.0, 1.0, 1.0
)
)
, _pivot(
PivotInfo,