Просмотр исходного кода

Vector3.getScaleFromMatrix returns now the Vector-Object

Dominique Sandoz 13 лет назад
Родитель
Сommit
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 ) {