goat3d

view src/mesh.cc @ 15:f1b4c27382ce

blah
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 26 Sep 2013 14:06:14 +0300
parents cd71f0b92f44
children b35427826b60
line source
1 #include "mesh.h"
3 Mesh::Mesh()
4 {
5 material = 0;
6 }
8 void Mesh::set_material(Material *mat)
9 {
10 material = mat;
11 }
13 Material *Mesh::get_material()
14 {
15 return material;
16 }
18 const Material *Mesh::get_material() const
19 {
20 return material;
21 }