]> git.tdb.fi Git - libs/gl.git/blobdiff - source/objectinstance.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / objectinstance.cpp
diff --git a/source/objectinstance.cpp b/source/objectinstance.cpp
deleted file mode 100644 (file)
index 1434156..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007, 2010-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include "object.h"
-#include "objectinstance.h"
-#include "renderer.h"
-
-using namespace std;
-
-namespace Msp {
-namespace GL {
-
-ObjectInstance::ObjectInstance(const Object &obj):
-       object(obj)
-{ }
-
-void ObjectInstance::render(const Tag &tag) const
-{
-       Renderer renderer(0);
-       render(renderer, tag);
-}
-
-void ObjectInstance::render(Renderer &renderer, const Tag &tag) const
-{
-       object.render(renderer, *this, tag);
-}
-
-} // namespace GL
-} // namespaec Msp