mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Use the correct vector for the plane distance.
Oops :)
This commit is contained in:
parent
cde0bbb807
commit
7b59eaf0cd
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ check_in_leaf (hull_t *hull, trace_t *trace, clipleaf_t *leaf, plane_t *plane,
|
|||
// the same normal vector, the normal vector length does not
|
||||
// matter.
|
||||
CrossProduct (vel, edge, cutplane.normal);
|
||||
cutplane.dist = DotProduct (vel, point);
|
||||
cutplane.dist = DotProduct (cutplane.normal, point);
|
||||
dist = PlaneDiff (org, &cutplane);
|
||||
offset = calc_offset (trace, &cutplane);
|
||||
if (v_n >= 0)
|
||||
|
|
Loading…
Reference in a new issue