]> git.tdb.fi Git - libs/gl.git/blobdiff - source/objectinstance.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / objectinstance.h
index d665851fbb5d40fb0201d17c255ea8667572a04c..5911dae57fb6f173210ea18936a8e353c11c9f54 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007-2008, 2010-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_OBJETCINSTANCE_H_
 #define MSP_GL_OBJETCINSTANCE_H_
 
@@ -31,6 +24,7 @@ public:
        ObjectInstance(const Object &);
 
        const Object &get_object() const { return object; }
+       virtual long get_instance_key() const { return reinterpret_cast<long>(&object); }
 
        virtual void render(const Tag &tag = Tag()) const;
        virtual void render(Renderer &, const Tag & = Tag()) const;