aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.hpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-08 22:30:12 -0700
committerhnOsmium0001 <[email protected]>2022-04-08 22:30:12 -0700
commite47a98793e58a5dbbe76bfed27e59408e43538e4 (patch)
tree250eb4c4200efb63c493ac6f4adb83c89be10ea1 /source/SceneThings.hpp
parent3fdc6eb4f2cbeffce9b250beec4d3a2d52a3f534 (diff)
More work
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;
};