]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trackpart.h
Use raycasting instead of OpenGL selection mode to pick tracks
[r2c2.git] / source / libr2c2 / trackpart.h
index 42945845add5aa8d58d17ddd82f6c498f3d4f100..ebe353c34cfde4022586fbd9f2b3922f40a479ef 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of R²C²
-Copyright © 2006-2010  Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2011  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -44,6 +44,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