]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/endpoint.h
Don't crash if a train has no router
[r2c2.git] / source / 3d / endpoint.h
index 0abc52683c3e8e486f61aa2cfc87e8d5857f81d5..dd11d1c0f8dc6c35bfd9e612ab2d2138de4d8288 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_ENDPOINT_H_
-#define MARKLIN3D_ENDPOINT_H_
+#ifndef R2C2_3D_ENDPOINT_H_
+#define R2C2_3D_ENDPOINT_H_
 
 #include <msp/gl/mesh.h>
 #include <msp/gl/renderable.h>
-#include "libmarklin/track.h"
+#include "libr2c2/track.h"
 
-namespace Marklin {
+namespace R2C2 {
 
 class Track3D;
 
@@ -27,9 +20,9 @@ public:
        Endpoint3D(const Track3D &, unsigned);
        ~Endpoint3D();
 
-       virtual void render(const Msp::GL::Tag &) const;
+       virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
 };
 
-} // namespace Marklin
+} // namespace R2C2
 
 #endif