Method Rotate
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Rotate(Vector2, float)
Rotates a vector by a given angle.
public static Vector2 Rotate(this Vector2 vector, float angleInDeg)
Parameters
Returns
- Vector2
Rotated vector.