Click or drag to resize
AB4D logo

MathUtilsGetPerpendicularVectors Method

Calculate two vectors that are perpendicular to the inputVector. Both calculated vectors are normalized.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static void GetPerpendicularVectors(
	Vector3D inputVector,
	out Vector3D p1,
	out Vector3D p2
)

Parameters

inputVector  Vector3D
input vector
p1  Vector3D
first perpendicular vector (normalized)
p2  Vector3D
second perpendicular vector (normalized)
See Also