mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Fix min and max values of RenderableModel transform matrix (closes #3746)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user