Ver Fonte

Merge pull request #7285 from leitzler/leitzler-raycastparams

Updated to latest Raycaster.params
Mr.doob há 9 anos atrás
pai
commit
b97e2d47dd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/webgl_interactive_raycasting_points.html

+ 1 - 1
examples/webgl_interactive_raycasting_points.html

@@ -271,7 +271,7 @@
 				//
 
 				raycaster = new THREE.Raycaster();
-				raycaster.params.PointCloud.threshold = threshold;
+				raycaster.params.Points.threshold = threshold;
 
 				//