-
Notifications
You must be signed in to change notification settings - Fork 728
Closed
Labels
Description
(unrelated to #305)
mat4.fromRotationTranslationScale exists but not the other way round (i.e. Matrix4.decompose from Three.js)
The getX functions from #204 are excellent, but if both rotation and scale are desired there is a wasted call to getScaling (position is independent)
I can do a PR but the only thing I am unsure of is the function signature, since I can't find an example of multiple outs on a function (besides quat.getAxisAngle which sets the vec3 and returns the angle). I am also not sure if there was a concious decison to exclude it because of this.