X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Frod.cpp;h=c59dd836e7e120526058ba667ae8fc96206b2391;hb=e621dd4120cb253417167b4295e436cee095ccb0;hp=26d000d313afd67fe345a02bf20a716529322f1c;hpb=4b7008978ce5b67e7e1db14b4a359e4ab1881bbd;p=r2c2.git diff --git a/source/3d/rod.cpp b/source/3d/rod.cpp index 26d000d..c59dd83 100644 --- a/source/3d/rod.cpp +++ b/source/3d/rod.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2011 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include "rod.h" @@ -32,7 +25,7 @@ void Rod3D::render(GL::Renderer &renderer, const GL::Tag &tag) const void Rod3D::setup_render(GL::Renderer &renderer, const GL::Tag &) const { GL::Matrix matrix; - const Point &pos = vehicle.get_position(); + const Vector &pos = vehicle.get_position(); matrix.translate(pos.x, pos.y, pos.z); matrix.rotate(vehicle.get_direction(), 0, 0, 1);