Ver Fonte

Vector3.getScaleFromMatrix returns now the Vector-Object

Dominique Sandoz há 13 anos atrás
pai
commit
4513b291dd
1 ficheiros alterados com 1 adições e 0 exclusões
  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 ) {