aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-08 22:30:12 -0700
committerrtk0c <[email protected]>2022-04-08 22:30:12 -0700
commite7ef3f208c109357538b1f68af10bcd78db95c95 (patch)
tree066d614ae0f079e53602d7c0fd972998c546c8c1 /source/SceneThings.hpp
parentf163e8f37123e651ea80b690793845b31ddb8639 (diff)
Changeset: 3 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;
};