]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/endpoint.cpp
Add utility functions to make endpoint path mask operations clearer
[r2c2.git] / source / 3d / endpoint.cpp
index 440d3f7d7e8a0362fabee8f1673bd12f1662fcc3..e851007b2ba0736546f27b6d81ae5bac2518a1c5 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <cmath>
 #include <msp/gl/matrix.h>
 #include <msp/gl/misc.h>
@@ -34,7 +27,7 @@ void Endpoint3D::render(GL::Renderer &renderer, const GL::Tag &tag) const
 {
        if(tag=="unlit")
        {
-               Point p = track.get_track().get_endpoint_position(index);
+               Vector p = track.get_track().get_endpoint_position(index);
                float a = track.get_track().get_endpoint_direction(index)+M_PI;
 
                GL::MatrixStack::Push push_mtx(renderer.matrix_stack());