Skip to content

raylib.Vector2Transform

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Transforms a Vector2 by a given Matrix

Parameters

Parameter Default Value Note
v [0, 0]
mat MatrixIdentity

Return value

Condition Return Value
(always) list

Notes

Example

v = [1, 0]
mat = raylib.MatrixIdentity
result = raylib.Vector2Transform(v, mat)
print result  // [1, 0] (identity transform, unchanged)

Clone this wiki locally