Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector2D.Normalize

Malware edited this page Apr 8, 2019 · 17 revisions

IndexNamespace IndexVector2D

Summary

public void Normalize()

Turns the current vector into a unit vector. The result is a vector one unit in length pointing in the same direction as the original vector.

Summary

public static Vector2D Normalize(Vector2D value)

Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.

Returns

Vector2D

Parameters

Summary

public static void Normalize(ref Vector2D value, ref Vector2D result)

Creates a unit vector from the specified vector, writing the result to a user-specified variable. The result is a vector one unit in length pointing in the same direction as the original vector.

Parameters

Clone this wiki locally