Refactored Matrix4 compose / decompose to reduce memory consumption (untested).
Still not very fond of decompose returning new array. We will see when it'll be actually used - as API allows for passing in existing translation, rotation, scale, maybe this return array could be eliminated.
Showing
想要评论请 注册 或 登录