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.