X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fobjectinstance.cpp;h=ef4afffeeab8c5a97753ab6800417d6c15478e4a;hp=10dae3926c05374d07df95e9cd58d7184eb23853;hb=HEAD;hpb=4324df6e3d807d35e02e828320e436c509275520 diff --git a/source/objectinstance.cpp b/source/objectinstance.cpp deleted file mode 100644 index 10dae392..00000000 --- a/source/objectinstance.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#include "object.h" -#include "objectinstance.h" -#include "programdata.h" - -using namespace std; - -namespace Msp { -namespace GL { - -ObjectInstance::ObjectInstance(const Object &obj): - object(obj) -{ } - -bool ObjectInstance::has_pass(const string &pn) const -{ - return object.has_pass(pn); -} - -void ObjectInstance::render() const -{ - object.render(*this); -} - -void ObjectInstance::render(const string &pn) const -{ - object.render(pn, *this); -} - -} // namespace GL -} // namespaec Msp