]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderable.h
Use constructor delegation instead of init functions when possible
[libs/gl.git] / source / render / renderable.h
index 30386392586066ffedcf847bd4d9b533e96d4004..022c87087b7b08bcf1f6034d1668b79df2021ee4 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef MSP_GL_RENDERABLE_H_
 #define MSP_GL_RENDERABLE_H_
 
-#include <string>
-#include <msp/core/attributes.h>
-#include <msp/core/inttypes.h>
 #include <msp/geometry/boundingsphere.h>
 #include "tag.h"
 
@@ -34,10 +31,6 @@ protected:
 public:
        virtual ~Renderable() { }
 
-       /** Returns a key used for grouping Renderables in an InstanceScene.  The
-       returned value is treated as opaque. */
-       DEPRECATED virtual IntPtr get_instance_key() const { return 0; }
-
        /** Returns the model matrix of the Renderable.  Null is returned if no such
        matrix exists.  The matrix should be in world space for some effects to work
        correctly. */