Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3D.Normalize

Malware edited this page Dec 25, 2018 · 18 revisions

IndexVector3D

csharp[double](System.Double) 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[Vector3D](VRageMath.Vector3D) Normalize([Vector3D](VRageMath.Vector3D) 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 [Vector3D](VRageMath.Vector3D) value, ref [Vector3D](VRageMath.Vector3D) 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.

Clone this wiki locally