Skip to content
Snippets Groups Projects
Commit 162f9d57 authored by henry's avatar henry
Browse files

Fix from Niklas.

parent 01184dfb
Branches
Tags
No related merge requests found
......@@ -8,7 +8,7 @@ scalar magVRel = mag(vRel);
vector p = p2().position() - p1().position();
scalar dist = mag(p);
scalar vAlign = vRel & (p/dist);
scalar vAlign = vRel & (p/(dist+SMALL));
if (vAlign > 0)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment