diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-13 19:45:54 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-13 19:45:54 +0000 |
commit | 8566e63b26f9e7ee809c03394743a0576c499378 (patch) | |
tree | cdcef5b698a224003ba54507dc24cbb27a57cbbe /game/scenary/illuminator.h | |
parent | Add glContainer::at override to update a single item (diff) | |
download | ilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.bz2 ilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.xz ilt-8566e63b26f9e7ee809c03394743a0576c499378.zip |
We only need 3x3 matrix for model rotation spec
Diffstat (limited to 'game/scenary/illuminator.h')
-rw-r--r-- | game/scenary/illuminator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/scenary/illuminator.h b/game/scenary/illuminator.h index 893e5c7..cd6073c 100644 --- a/game/scenary/illuminator.h +++ b/game/scenary/illuminator.h @@ -41,7 +41,7 @@ public: }; public: - using LocationVertex = std::pair<glm::mat4, GlobalPosition3D>; + using LocationVertex = std::pair<glm::mat3, GlobalPosition3D>; mutable InstanceVertices<LocationVertex> instances; mutable InstanceVertices<SpotLightVertex> instancesSpotLight; mutable InstanceVertices<PointLightVertex> instancesPointLight; |