goat3d

view src/mesh.cc @ 8:cd71f0b92f44

a bit more...
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 21 Aug 2013 05:52:28 +0300
parents e46529a5d057
children f1b4c27382ce
line source
1 #include "mesh.h"
3 Mesh::Mesh()
4 {
5 material = 0;
6 }
8 Mesh::~Mesh() {}
10 void Mesh::set_material(Material *mat)
11 {
12 material = mat;
13 }
15 Material *Mesh::get_material()
16 {
17 return material;
18 }
20 const Material *Mesh::get_material() const
21 {
22 return material;
23 }