Parcourir la source

Vector3.getScaleFromMatrix returns now the Vector-Object

Dominique Sandoz il y a 13 ans
Parent
commit
4513b291dd
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 ) {