Skip to content

Commit

Permalink
fix: clipping of nodes when CLIP_OUTSIDE is set (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuitl authored and Hugo Campos committed Aug 7, 2019
1 parent 6a39757 commit cf72aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/potree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,11 @@ export class Potree implements IPotree {
new Vector3(0.5, 0.5, 0.5),
).applyMatrix4(clipMatrixWorld);
if (box2.intersectsBox(clipBoxWorld)) {
return true;
return false;
}
}

return false;
return true;
}

private updateVisibilityStructures = (() => {
Expand Down

0 comments on commit cf72aeb

Please sign in to comment.