-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector2D.Normalize
csharpvoid Normalize()##### Summary
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.
csharp[Vector2D](VRageMath.Vector2D) Normalize([Vector2D](VRageMath.Vector2D) value)##### Summary
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.
csharpvoid Normalize(ref [Vector2D](VRageMath.Vector2D) value, ref [Vector2D](VRageMath.Vector2D) result)##### Summary
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.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!