OrientationHelper

Namespace: Murder.Core
Assembly: Murder.dll

public static class OrientationHelper

⭐ Methods

GetOrientationAmount(Vector2, Orientation)

public float GetOrientationAmount(Vector2 vector, Orientation orientation)

Parameters
vector Vector2
orientation Orientation

Returns
float

GetDominantOrientation(Vector2)

public Orientation GetDominantOrientation(Vector2 vector)

Parameters
vector Vector2

Returns
Orientation