diff options
Diffstat (limited to 'source/SceneThings.cpp')
-rw-r--r-- | source/SceneThings.cpp | 4 |
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(); } |