소스 검색

Fixed code example error: there's no method distanceTo for Vector4

Jing Ma 8 년 전
부모
커밋
a0362d837c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/api/math/Vector4.html

+ 1 - 1
docs/api/math/Vector4.html

@@ -42,7 +42,7 @@ var a = new THREE.Vector4( 0, 1, 0, 0 );
 //no arguments; will be initialised to (0, 0, 0, 1)
 var b = new THREE.Vector4( );
 
-var d = a.distanceTo( b );
+var d = a.dot( b );
 		</code>