Recalculates the direction vector in the world coordinates to the local coordinates.

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

Syntax

C#
public Vector3 GetLocalDirection(
	Vector3 worldDirection
)

Parameters

worldDirection
Type: Vector3
Direction vector in the world coordinates.

Return Value

Returns recalculated direction vector in the local coordinates.

See Also