Math |
public static void Orthogonalize( Vector3[] destination, params Vector3[] source )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when source or destination is null. |
ArgumentOutOfRangeException | Thrown when destination is shorter in length than source. |
Orthogonalization is the process of making all vectors orthogonal to each other. This means that any given vector in the list will be orthogonal to any other given vector in the list.
Because this method uses the modified Gram-Schmidt process, the resulting vectors tend to be numerically unstable. The numeric stability decreases according to the vectors position in the list so that the first vector is the most stable and the last vector is the least stable.