3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
9 #include "objectinstance.h"
10 #include "programdata.h"
17 ObjectInstance::ObjectInstance(const Object &obj):
21 bool ObjectInstance::has_pass(const string &pn) const
23 return object.has_pass(pn);
26 void ObjectInstance::render() const
31 void ObjectInstance::render(const string &pn) const
33 object.render(pn, *this);