소스 검색

Merge remote-tracking branch 'robertshield/master' into dev

Mr.doob 14 년 전
부모
커밋
4e1d803a5e
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/core/Vector3.js

+ 5 - 1
src/core/Vector3.js

@@ -132,7 +132,11 @@ THREE.Vector3.prototype = {
 
 	divideSelf: function ( v ) {
 
-		return this.divide( this, v );
+		this.x /= v.x;
+		this.y /= v.y;
+		this.z /= v.z;
+
+		return this;
 
 	},