aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.cpp
blob: 894ea582b7b180a90af173f2e47415b97394edc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "SceneThings.hpp"

void BuildingObject::SetMeshMaterial(Material* material) {
	mMaterial.Attach(material);
    // TODO update render
}

const Material* BuildingObject::GetMeshMaterial() const {
	return mMaterial.Get();
}

void BuildingObject::SetMesh(GpuMesh* mesh) {
	mMesh.Attach(mesh);
    // TODO update render
}

const GpuMesh* BuildingObject::GetMesh() const {
	return mMesh.Get();
}