]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/endpoint.cpp
Rename Point to Vector
[r2c2.git] / source / 3d / endpoint.cpp
index 440d3f7d7e8a0362fabee8f1673bd12f1662fcc3..5b7f8104f808dee56d30304e747597c6bd121d68 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of R²C²
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Copyright © 2010-2011  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -34,7 +34,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());