]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/path.h
Add utility functions to make endpoint path mask operations clearer
[r2c2.git] / source / 3d / path.h
index dd071f7d42053031c393c3b93cda52caffb8f986..58dae2435d8fe4cb87036d2857035273e31bbf2a 100644 (file)
@@ -1,18 +1,11 @@
-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
-#ifndef MARKLIN3D_PATH_H_
-#define MARKLIN3D_PATH_H_
+#ifndef R2C2_3D_PATH_H_
+#define R2C2_3D_PATH_H_
 
 #include <msp/gl/color.h>
 #include <msp/gl/mesh.h>
 #include <msp/gl/renderable.h>
 
-namespace Marklin {
+namespace R2C2 {
 
 class Track3D;
 
@@ -35,9 +28,11 @@ public:
        void set_color(const Msp::GL::Color &);
        void set_layer(float);
 
-       virtual void render(const Msp::GL::Tag &) const;
+       virtual long get_instance_key() const;
+
+       virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
 };
 
-} // namespace Marklin
+} // namespace R2C2
 
 #endif