X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fobjectinstance.cpp;h=ef4afffeeab8c5a97753ab6800417d6c15478e4a;hp=7552cc937f54f30b6ffb9c654f8db8bb3d9e525d;hb=HEAD;hpb=c6aea1bc1586ffef132e6fffdf99343cb56617db diff --git a/source/objectinstance.cpp b/source/objectinstance.cpp deleted file mode 100644 index 7552cc93..00000000 --- a/source/objectinstance.cpp +++ /dev/null @@ -1,32 +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 Tag &tag) const -{ - return object.has_pass(tag); -} - -void ObjectInstance::render(const Tag &tag) const -{ - object.render(*this, tag); -} - -} // namespace GL -} // namespaec Msp