aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.cpp
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.cpp
parentf163e8f37123e651ea80b690793845b31ddb8639 (diff)
Changeset: 3 More work
Diffstat (limited to 'source/SceneThings.cpp')
-rw-r--r--source/SceneThings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/SceneThings.cpp b/source/SceneThings.cpp
index ec7a82f..894ea58 100644
--- a/source/SceneThings.cpp
+++ b/source/SceneThings.cpp
@@ -9,11 +9,11 @@ const Material* BuildingObject::GetMeshMaterial() const {
return mMaterial.Get();
}
-void BuildingObject::SetMesh(Mesh* mesh) {
+void BuildingObject::SetMesh(GpuMesh* mesh) {
mMesh.Attach(mesh);
// TODO update render
}
-const Mesh* BuildingObject::GetMesh() const {
+const GpuMesh* BuildingObject::GetMesh() const {
return mMesh.Get();
}