]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/vehicletype.h
Add a utility function to get path length from Track
[r2c2.git] / source / 3d / vehicletype.h
index 8be9f3aa5bad5e79a6640982aea8b289d121852e..81a6468b81622470a5605f87f86e71a7f2a0df6e 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef LIBR2C23D_VEHICLETYPE_H_
 #define LIBR2C23D_VEHICLETYPE_H_
 
@@ -24,7 +17,7 @@ private:
        std::map<std::string, Msp::GL::Object *> objects;
        Msp::GL::Object *body_object;
        std::vector<Msp::GL::Object *> bogie_objects;
-       std::vector<std::vector<Msp::GL::Object *> > axle_objects;
+       std::vector<Msp::GL::Object *> axle_objects;
        std::vector<Msp::GL::Object *> rod_objects;
 
 public:
@@ -34,7 +27,6 @@ public:
        const Msp::GL::Object *get_body_object() const { return body_object; }
        const Msp::GL::Object *get_axle_object(unsigned) const;
        const Msp::GL::Object *get_bogie_object(unsigned) const;
-       const Msp::GL::Object *get_bogie_axle_object(unsigned, unsigned) const;
        const Msp::GL::Object *get_rod_object(unsigned) const;
 private:
        Msp::GL::Object *get_object(const std::string &);