Browse Source

Reset numIntersection in projectPlanes()

Ricardo Reiter 5 years ago
parent
commit
cf9357b8e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/renderers/webgl/WebGLClipping.js

+ 1 - 0
src/renderers/webgl/WebGLClipping.js

@@ -153,6 +153,7 @@ function WebGLClipping() {
 		}
 
 		scope.numPlanes = nPlanes;
+		scope.numIntersection = 0;
 
 		return dstArray;