]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/vehicle.h
Create another track iterator class that holds an offset as well
[r2c2.git] / source / 3d / vehicle.h
index 84b10beb4c6bb1da3bbb514cf30c9a8cf6d59698..4b145536f724f566e4e41d9919f201659c1f2ff6 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010-2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef LIBR2C23D_VEHICLE_H_
 #define LIBR2C23D_VEHICLE_H_
 
@@ -16,14 +9,12 @@ namespace R2C2 {
 
 class Axle3D;
 class Bogie3D;
-class Layout3D;
 class Rod3D;
 class VehicleType3D;
 
 class Vehicle3D: public Object3D, public Msp::GL::ObjectInstance
 {
 private:
-       Layout3D &layout;
        Vehicle &vehicle;
        const VehicleType3D &type;
        std::vector<Axle3D *> axles;
@@ -37,7 +28,7 @@ public:
        Vehicle &get_vehicle() const { return vehicle; }
        const VehicleType3D &get_type() const { return type; }
 
-       virtual Point get_node() const;
+       virtual Vector get_node() const;
        virtual bool is_visible() const;
 
        virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;