• Normalize a vector. The returned vector will have the same direction as the original vector but have a magnitude of 1.

    Parameters

    • vector: Vector3

      The original vector

    Returns Vector3

    The normalized vector. This function will return a zero vector if the original vector is a zero vector.

Generated using TypeDoc