nuclear@0: #include "object.h" nuclear@0: nuclear@0: Object::Object() nuclear@0: { nuclear@0: material = 0; nuclear@0: mesh = 0; nuclear@0: } nuclear@0: nuclear@0: void Object::set_mesh(Mesh *mesh) nuclear@0: { nuclear@0: this->mesh = mesh; nuclear@0: } nuclear@0: nuclear@0: Mesh *Object::get_mesh() const nuclear@0: { nuclear@0: return mesh; nuclear@0: } nuclear@0: nuclear@0: void Object::set_material(Material *mtl) nuclear@0: { nuclear@0: material = mtl; nuclear@0: } nuclear@0: nuclear@0: Material *Object::get_material() const nuclear@0: { nuclear@0: return material; nuclear@0: }