1
0
Эх сурвалжийг харах

Merge remote branch 'remotes/upstream/master'

alteredq 15 жил өмнө
parent
commit
92c0c8c42f

+ 10 - 0
src/core/Vector3.js

@@ -136,6 +136,16 @@ THREE.Vector3.prototype = {
 
 
 	},
 	},
 
 
+	divideSelf: function ( v ) {
+
+		this.x /= v.x;
+		this.y /= v.y;
+		this.z /= v.z;
+
+		return this;
+
+	},
+
 	divideScalar: function ( s ) {
 	divideScalar: function ( s ) {
 
 
 		this.x /= s;
 		this.x /= s;

粤ICP备19079148号