Added meaningful raycast return values and improved tests.

This commit is contained in:
David Williams
2012-10-02 16:52:43 +02:00
parent 23184e6924
commit 7af38d83a3
3 changed files with 46 additions and 37 deletions

View File

@ -29,4 +29,7 @@ Changes to Raycast
It's been unclassed (makes sense, removes template parameters).
Switch from std::function to STL approach.
Note functor is passed by reference rather than by value.
Remove 0.5 offset?
Remove 0.5 offset?
Resolved endpoints vs direction confusion
Prevent short directions
Prevent infinite loops (by preventing long directions?