Fix #18: Remove complanarity check between pass poly and target poly
This commit is contained in:
parent
651243d91f
commit
3e2abbe968
|
@ -226,7 +226,6 @@ public class PotentiallyVisibleSet
|
|||
// Could probably use poly center + radius to get an even better early out.
|
||||
var targetEdge = _edges[targetEdgeIdx];
|
||||
if (visited.Contains(targetEdge.Destination) ||
|
||||
passPoly.IsCoplanar(targetEdge.Poly) ||
|
||||
Math.Abs(MathUtils.DistanceFromNormalizedPlane(targetEdge.Poly.Plane, lightPos)) > maxRange)
|
||||
{
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue