|
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
)
Public Shared Function Normalize (
value As Vector2
) As Vector2
public:
static Vector2 Normalize(
Vector2 value
)
static member Normalize :
value : Vector2 -> Vector2
Parameters
- value
- Type: Karamba.GeometryVector2
The vector to normalize.
Return Value
Type:
Vector2The normalized vector.
See Also