UtilOrthonormalize(Vector3, Vector3) Method |
Makes the vector v2 orthogonal to the vector v1
and normalizes both vectors.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static void Orthonormalize(
ref Vector3 v1,
ref Vector3 v2
)
Parameters
- v1 Vector3
- The first vector (direction remains unchanged).
- v2 Vector3
- The second vector.
See Also