aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.cpp
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.cpp
parent3fdc6eb4f2cbeffce9b250beec4d3a2d52a3f534 (diff)
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();
}