]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/track.h
Use raycasting instead of OpenGL selection mode to pick tracks
[r2c2.git] / source / libr2c2 / track.h
index 8f75f78fc1c093f94e83f74e70a5518b1f378aa3..df4032567a8dbe84991d53b4a09e9a43f73e910a 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
 */
 
@@ -89,6 +89,8 @@ public:
        TrackPoint get_point(unsigned, unsigned, float) const;
        TrackPoint get_point(unsigned, float) const;
 
+       bool collide_ray(const Vector &, const Vector &);
+
        void save(std::list<Msp::DataFile::Statement> &) const;
 private:
        void turnout_event(unsigned, unsigned);