X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fbogie.cpp;fp=source%2F3d%2Fbogie.cpp;h=03f7dce255c3291192079559b02a13796fabde8c;hb=f8a7788cee0261babfc4c804a58515aad6dfbc3d;hp=234bd88a403559b795db56f86ae655064ef31296;hpb=460c64181aca1a134d74cb15ea4ad3bb4f275b60;p=r2c2.git diff --git a/source/3d/bogie.cpp b/source/3d/bogie.cpp index 234bd88..03f7dce 100644 --- a/source/3d/bogie.cpp +++ b/source/3d/bogie.cpp @@ -33,7 +33,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);