Skip to content

raylib.MatrixCompose

JoeStrout edited this page Oct 17, 2026 · 3 revisions

Compose a transformation matrix from rotational, translational and scaling components

Parameters

Parameter Default Value Note
translation [0, 0, 0]
rotation QuaternionIdentity
scale [1, 1, 1]

Return value

Condition Return Value
(always) map

Notes

Example

translation = [1, 2, 3]
rotation = raylib.QuaternionIdentity
scale = [1, 1, 1]
mat = raylib.MatrixCompose(translation, rotation, scale)

Clone this wiki locally