-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.MatrixCompose
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Compose a transformation matrix from rotational, translational and scaling components TODO: This function is not following raymath conventions defined in header: NOT self-contained
| Parameter | Default Value | Note |
|---|---|---|
| translation | [0, 0, 0] | |
| rotation | QuaternionIdentity | |
| scale | [1, 1, 1] |
| Condition | Return Value |
|---|---|
| (always) | map |
translation = [1, 2, 3]
rotation = raylib.QuaternionIdentity
scale = [1, 1, 1]
mat = raylib.MatrixCompose(translation, rotation, scale)