]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/bogie.cpp
Strip Id tags and copyright notices from files
[r2c2.git] / source / 3d / bogie.cpp
index 234bd88a403559b795db56f86ae655064ef31296..a36fc9b773c8fb9374b164ffc148c5beb3875ab2 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <msp/gl/matrix.h>
 #include <msp/gl/renderer.h>
 #include "bogie.h"
@@ -33,7 +26,7 @@ void Bogie3D::setup_render(Msp::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);