m3_rm_compose_transform
m3_rm_compose_transform(result, tX, tY, sX, sY, cx, cy, angle)
Composes row-major transform matrix, row-major format is used in OpenGL
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 |