提交 8d503f3b 编写于 作者: B Ben Houston

Matrix4.multipleList - easy multiplication of an array of Matrix4. Useful for hierarchies.

上级 7af87230
......@@ -441,6 +441,19 @@ THREE.Matrix4.prototype = {
},
multiplyList: function ( listOfMatrices ) {
for (var i = 0, il = listOfMatrices.length; i < il ; i++) {
this.multiplyMatrices( this, listOfMatrices[ i ] );
}
return this;
},
multiplyToArray: function ( a, b, r ) {
var te = this.elements;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册