goat3d
view src/mesh.cc @ 10:1f94a2107c64
merged with win32 stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 26 Aug 2013 05:30:40 +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 }