]> 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 78042bd..0000000
+++ /dev/null
@@ -1,30 +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"
-
-namespace Msp {
-namespace GL {
-
-ObjectInstance::ObjectInstance(const Object &obj):
-       object(obj)
-{ }
-
-void ObjectInstance::render() const
-{
-       object.render(this);
-}
-
-void ObjectInstance::render(const std::string &pn) const
-{
-       object.render(pn, this);
-}
-
-} // namespace GL
-} // namespaec Msp