Click or drag to resize
DirectionToDirections Method (Vector2F)
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(
	Vector2F vector
)

Parameters

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

Return Value

Type: DirectionType
Set of directions.
See Also