mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Use a bit of epsilon in trace_contents().
All tests pass again.
This commit is contained in:
parent
66dffef936
commit
2a27db146e
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ trace_contents (hull_t *hull, trace_t *trace, clipleaf_t *leaf,
|
|||
// the side of the plane on which we are does not matter, only
|
||||
// whether we're crossing the plane. merely touching the plane does
|
||||
// not cause us to cross it
|
||||
if (fabs (dist) >= offset)
|
||||
if (fabs (dist) >= offset - PLANE_EPSILON)
|
||||
continue;
|
||||
if (!portal_intersect (trace, portal, plane, origin))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue