X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2F3d%2Fendpoint.cpp;h=5b7f8104f808dee56d30304e747597c6bd121d68;hb=f8a7788cee0261babfc4c804a58515aad6dfbc3d;hp=440d3f7d7e8a0362fabee8f1673bd12f1662fcc3;hpb=949b13aae247fa53579ec1cda9142ccc8755acde;p=r2c2.git diff --git a/source/3d/endpoint.cpp b/source/3d/endpoint.cpp index 440d3f7..5b7f810 100644 --- a/source/3d/endpoint.cpp +++ b/source/3d/endpoint.cpp @@ -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());