-/* $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 "rod.h"
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);