]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trackpart.h
Fix remaining exception class names
[r2c2.git] / source / libr2c2 / trackpart.h
index 0a07b4d0df857fabb90679e45f0582a05f4fb74d..462290526eb6809bd2663304bbcd1a97cb2a1a75 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef LIBR2C2_TRACKPART_H_
 #define LIBR2C2_TRACKPART_H_
 
@@ -26,7 +19,7 @@ public:
        };
 
 private:
-       Point pos;
+       Vector pos;
        float dir;
        float length;
        float radius;
@@ -44,6 +37,7 @@ public:
        bool is_dead_end() const { return dead_end; }
        void check_link(TrackPart &);
        TrackPart *get_link(unsigned) const;
+       bool collide_ray(const Vector &, const Vector &, float) const;
 };
 
 } // namespace R2C2