Skip to content

raylib.Vector4Invert

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Invert the given vector

Parameters

Parameter Default Value Note
v [1, 1, 1, 1]

Return value

Condition Return Value
(always) list

Notes

Example

v = [2, 4, 8, 16]
result = raylib.Vector4Invert(v)
print result  // [0.5, 0.25, 0.125, 0.0625]

Clone this wiki locally