summaryrefslogtreecommitdiff
path: root/game/scenary/illuminator.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-20 17:57:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-08-10 18:06:01 +0100
commit790599b583e1b819b5023a35b13b707ec9de3439 (patch)
tree71fd0359798a2792586695cdd8042829c4b820f6 /game/scenary/illuminator.h
parentAdd missing truthy/falsy operators to AnyPtr (diff)
downloadilt-790599b583e1b819b5023a35b13b707ec9de3439.tar.bz2
ilt-790599b583e1b819b5023a35b13b707ec9de3439.tar.xz
ilt-790599b583e1b819b5023a35b13b707ec9de3439.zip
Apply StdTypeDefs for Texture
Diffstat (limited to 'game/scenary/illuminator.h')
-rw-r--r--game/scenary/illuminator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/scenary/illuminator.h b/game/scenary/illuminator.h
index cd6073c..44bd583 100644
--- a/game/scenary/illuminator.h
+++ b/game/scenary/illuminator.h
@@ -2,15 +2,15 @@
#include "assetFactory/asset.h"
#include "gfx/gl/instanceVertices.h"
+#include "gfx/models/texture.h"
#include "gfx/renderable.h"
class SceneShader;
class Location;
-class Texture;
class Illuminator : public Asset, public Renderable, public StdTypeDefs<Illuminator> {
Mesh::Ptr bodyMesh;
- std::shared_ptr<Texture> texture;
+ Texture::Ptr texture;
glVertexArray instanceVAO;
std::optional<glVertexArray> instancesSpotLightVAO, instancesPointLightVAO;