m3_cm_compose_transform
m3_cm_compose_transform(result, tX, tY, sX, sY, cx, cy, angle)
Composes column-major transform matrix Column-major matrices are used in CSS
Kind: global function
Param | Type | Description |
---|---|---|
result | Array.<number> | Float32Array | |
tX | number | translation X offset |
tY | number | translation Y offset |
sX | number | scale in X axis |
sY | number | scale in Y axis |
cx | number | center of rotation X |
cy | number | center of rotation Y |
angle | number | rotation angle |