goat3d

view src/mesh.cc @ 21:0e31f2c3f29d

macfix
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Sep 2013 07:14:27 +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 }