 |
MathUtilsGetPerpendicularVectors(Vector3, Vector3, Vector3) Method |
Find two vectors that are perpendicular (orthogonal) to the given inputVector and to each other. Both returned vectors are normalized.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic static void GetPerpendicularVectors(
in Vector3 inputVector,
out Vector3 p1,
out Vector3 p2
)
Parameters
- inputVector Vector3
- input vector
- p1 Vector3
- first perpendicular vector (normalized)
- p2 Vector3
- second perpendicular vector (normalized)
See Also