Calculates the cube coordinates, which contains the given point pos.

Namespace:  SGP.Baltie
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public Vector3Int PositionToCubePosition(
	Vector3 pos
)

Parameters

pos
Type: Vector3
A Vector3 to be converted.

Return Value

Returns the recalculated cube coordinates.

See Also