Graphmath.Vec2.rotate
You're seeing just the function
rotate
, go back to Graphmath.Vec2 module for more information.
Link to this function
rotate(a, theta)
Specs
rotate(a,theta)
rotates a vec2
CCW about the +Z axis.
a
is the vec2
to rotate.
theta
is the number of radians to rotate by as a float.
This returns a vec2
.