Revert "light: Face_Pick: make more lenient"
This reverts commit 5292728fe3.
This commit is contained in:
parent
d811d33d22
commit
ea9c456367
|
|
@ -566,7 +566,7 @@ Face_Pick(const bsp2_t *bsp, const glm::vec3 &point)
|
|||
const auto plane = Face_Plane_E(bsp, f);
|
||||
const float planedist = GLM_DistAbovePlane(plane, point);
|
||||
|
||||
if (fabs(planedist) > 1)
|
||||
if (fabs(planedist) > ON_EPSILON)
|
||||
continue;
|
||||
|
||||
const auto points = GLM_FacePoints(bsp, f);
|
||||
|
|
|
|||
Loading…
Reference in New Issue