X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fendpoint.cpp;h=e851007b2ba0736546f27b6d81ae5bac2518a1c5;hb=e621dd4120cb253417167b4295e436cee095ccb0;hp=440d3f7d7e8a0362fabee8f1673bd12f1662fcc3;hpb=949b13aae247fa53579ec1cda9142ccc8755acde;p=r2c2.git diff --git a/source/3d/endpoint.cpp b/source/3d/endpoint.cpp index 440d3f7..e851007 100644 --- a/source/3d/endpoint.cpp +++ b/source/3d/endpoint.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include @@ -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());