/* $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
*/
};
private:
- Point pos;
+ Vector pos;
float dir;
float length;
float radius;
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