The matrix T · R · S of a translation, rotation and scale, so a point is
scaled, then rotated, then translated.
The arithmetic is the same as three.jsMatrix4.compose, so engine and
viewer agree bit for bit. The rotation must be a unit quaternion; any other
length scales and skews the basis instead of rotating it. A zero scale
component yields a zero basis column, which decompose accepts.
The matrix
T · R · Sof a translation, rotation and scale, so a point is scaled, then rotated, then translated.The arithmetic is the same as
three.jsMatrix4.compose, so engine and viewer agree bit for bit. The rotation must be a unit quaternion; any other length scales and skews the basis instead of rotating it. A zero scale component yields a zero basis column, whichdecomposeaccepts.