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

Vector3.getScaleFromMatrix returns now the Vector-Object

Dominique Sandoz 13 жил өмнө
parent
commit
4513b291dd
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/core/Vector3.js

+ 1 - 0
src/core/Vector3.js

@@ -490,6 +490,7 @@ THREE.Vector3.prototype = {
 		this.y = sy;
 		this.z = sz;
 
+		return this;
 	},
 
 	equals: function ( v ) {