Click or drag to resize

UtilOrthonormalize Method (Vector3, Vector3)

Makes the vector v2 orthogonal to the vector v1 and normalizes both vectors.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static void Orthonormalize(
	ref Vector3 v1,
	ref Vector3 v2
)

Parameters

v1
Type: Microsoft.DirectXVector3
The first vector (direction remains unchanged).
v2
Type: Microsoft.DirectXVector3
The second vector.
See Also