summaryrefslogtreecommitdiff
path: root/game/scenary
diff options
context:
space:
mode:
Diffstat (limited to 'game/scenary')
-rw-r--r--game/scenary/foliage.h2
-rw-r--r--game/scenary/illuminator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/game/scenary/foliage.h b/game/scenary/foliage.h
index bbb6200..3beda89 100644
--- a/game/scenary/foliage.h
+++ b/game/scenary/foliage.h
@@ -15,7 +15,7 @@ class Foliage : public Asset, public Renderable, public StdTypeDefs<Foliage> {
glVertexArray instanceVAO;
public:
- using LocationVertex = std::pair<glm::mat4, GlobalPosition3D>;
+ using LocationVertex = std::pair<glm::mat3, GlobalPosition3D>;
mutable InstanceVertices<LocationVertex> instances;
void render(const SceneShader &) const override;
void shadows(const ShadowMapper &) const override;
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;