X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Frod.cpp;h=86a6a9cf95d434a6873cabb4607c90b65dc1b9c4;hb=f8a7788cee0261babfc4c804a58515aad6dfbc3d;hp=26d000d313afd67fe345a02bf20a716529322f1c;hpb=460c64181aca1a134d74cb15ea4ad3bb4f275b60;p=r2c2.git diff --git a/source/3d/rod.cpp b/source/3d/rod.cpp index 26d000d..86a6a9c 100644 --- a/source/3d/rod.cpp +++ b/source/3d/rod.cpp @@ -32,7 +32,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);