Click or drag to resize

Vector2Normalize Method

Returns a vector with the same direction as the given vector, but with a length of 1.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Vector2 Normalize(
	Vector2 value
)

Parameters

value
Type: Karamba.GeometryVector2
The vector to normalize.

Return Value

Type: Vector2
The normalized vector.
See Also