Click or drag to resize
DirectionToDirections Method (Vector2I)
Returns directions of a vector, based on quadrants.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static DirectionType ToDirections(
	Vector2I vector
)

Parameters

vector
Type: Slash.Math.Algebra.VectorsVector2I
Vector to convert.

Return Value

Type: DirectionType
Set of directions.
See Also