Calculates a normalized perpendicular vector to the given vector. Useful for finding an arbitrary orthogonal basis vector.
The zero vector has no unique perpendicular - every direction qualifies - so it returns the X axis rather than NaN.
the receiving vector
the source vector
the out vector
Calculates a normalized perpendicular vector to the given vector. Useful for finding an arbitrary orthogonal basis vector.
The zero vector has no unique perpendicular - every direction qualifies - so it returns the X axis rather than NaN.