aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/SceneThings.hpp')
-rw-r--r--source/SceneThings.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/SceneThings.hpp b/source/SceneThings.hpp
index 0e213a6..f8ad000 100644
--- a/source/SceneThings.hpp
+++ b/source/SceneThings.hpp
@@ -6,7 +6,7 @@
class BuildingObject : public GameObject {
private:
- RcPtr<Mesh> mMesh;
+ RcPtr<GpuMesh> mMesh;
RcPtr<Material> mMaterial;
public:
@@ -16,6 +16,6 @@ public:
void SetMeshMaterial(Material* material);
virtual const Material* GetMeshMaterial() const override;
- void SetMesh(Mesh* mesh);
- virtual const Mesh* GetMesh() const override;
+ void SetMesh(GpuMesh* mesh);
+ virtual const GpuMesh* GetMesh() const override;
};