Method RotateAround
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
RotateAround(Vector2, float, Vector2)
Rotates a vector by a given angle around a given point.
public static Vector2 RotateAround(this Vector2 vector, float angleInDeg, Vector2 axisPosition)