goat3d

view src/mesh.cc @ 17:1d85d7dd0038

goatprim done
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Sep 2013 02:29:52 +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 }