We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Rotate vector by angle
v = [1, 0] angle = pi / 2 // 90 degrees in radians result = raylib.Vector2Rotate(v, angle) print result // approximately [0, 1]
There was an error while loading. Please reload this page.