X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Faxle.cpp;h=c9f7a7023995c45eccfc4863c0257db6119feaf8;hb=8b7d4054b05002d82338775ac9b4ee764a8560e4;hp=c8a6dd573091d743c126449ec2d2db43e95920db;hpb=d18d5c1c3cf417e20840238eec4f3caa431fa2b5;p=r2c2.git diff --git a/source/3d/axle.cpp b/source/3d/axle.cpp index c8a6dd5..c9f7a70 100644 --- a/source/3d/axle.cpp +++ b/source/3d/axle.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 "axle.h" @@ -43,7 +36,7 @@ void Axle3D::setup_render(GL::Renderer &renderer, const GL::Tag &) const const Vector &pos = vehicle.get_position(); matrix.translate(pos.x, pos.y, pos.z); - matrix.rotate(vehicle.get_direction(), 0, 0, 1); + matrix.rotate(vehicle.get_rotation(), 0, 0, 1); if(bogie) {