/* $Id$
-This file is part of the MSP Märklin suite
+This file is part of R²C²
Copyright © 2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
using namespace Msp;
-namespace Marklin {
+namespace R2C2 {
Endpoint3D::Endpoint3D(const Track3D &t, unsigned i):
track(t),
void Endpoint3D::render(const GL::Tag &tag) const
{
- if(tag==0)
+ if(tag=="unlit")
{
Point p = track.get_track().get_endpoint_position(index);
float a = track.get_track().get_endpoint_direction(index)+M_PI;
}
}
-} // namespace Marklin
+} // namespace R2C2