mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
improved tests
This commit is contained in:
@@ -59,7 +59,7 @@ namespace omath::collision
|
||||
if (tHit <= kEpsilon)
|
||||
return ray.end;
|
||||
}
|
||||
else if (tHit <= kEpsilon || tHit >= 1.0f - kEpsilon)
|
||||
else if (tHit <= kEpsilon || tHit > 1.0f - kEpsilon)
|
||||
return ray.end;
|
||||
|
||||
return ray.start + rayDir * tHit;
|
||||
|
||||
Reference in New Issue
Block a user