소스 검색

Refractor: Fix function name

Mugen87 8 년 전
부모
커밋
3ec4acf87f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );