-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#include <msp/gl/tests.h>
#include <msp/gltk/button.h>
#include <msp/gltk/image.h>
void TrainView::prepare()
{
const Vehicle &veh = train.get_vehicle(0);
- const Point &pos = veh.get_position();
+ const Vector &pos = veh.get_position();
float angle = veh.get_direction();
if(!forward)
angle += M_PI;