goat3d

view src/mesh.cc @ 13:798df5111b56

moving slowly onwards
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 10 Sep 2013 15:29:45 +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 }