Click or drag to resize
VectorGetUnitVector Method

Used to get the unit vector for the current vector. The unit vector should have no component greater than 1.

Namespace: Terrarium.Sdk.Classes.Helpers
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public Vector GetUnitVector()

Return Value

Type: Vector
Vector representing the unit vector of the current vector.
See Also