summaryrefslogtreecommitdiff
path: root/game/terrain.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/terrain.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/terrain.h')
-rw-r--r--game/terrain.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/game/terrain.h b/game/terrain.h
index d088f89..1c79d19 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -4,12 +4,12 @@
#include "collection.h"
#include "config/types.h"
#include "game/worldobject.h"
-#include <gfx/models/mesh.h>
-#include <gfx/renderable.h>
+#include "gfx/models/mesh.h"
+#include "gfx/models/texture.h"
+#include "gfx/renderable.h"
#include <memory>
class SceneShader;
-class Texture;
class GeoData;
class Terrain : public WorldObject, public Renderable {
@@ -32,5 +32,5 @@ private:
std::shared_ptr<GeoData> geoData;
Collection<MeshT<Vertex>, false> meshes;
- std::shared_ptr<Texture> grass;
+ Texture::Ptr grass;
};