Procházet zdrojové kódy

Refractor: Fix function name

Mugen87 před 8 roky
rodič
revize
3ec4acf87f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/js/objects/Refractor.js

+ 1 - 1
examples/js/objects/Refractor.js

@@ -71,7 +71,7 @@ THREE.Refractor = function ( width, height, options ) {
 		var view = new THREE.Vector3();
 		var normal = new THREE.Vector3();
 
-		return function updateRefractorPlane( camera ) {
+		return function visible( camera ) {
 
 			refractorWorldPosition.setFromMatrixPosition( scope.matrixWorld );
 			cameraWorldPosition.setFromMatrixPosition( camera.matrixWorld );

粤ICP备19079148号