Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TVector
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include | #include "Math/Vector.h" |
static bool Orthogonal
(
const TVector < T > & Normal1,
const TVector < T > & Normal2,
T OrthogonalCosineThreshold
)
Remarks
See if two normal vectors are nearly orthogonal (perpendicular), meaning the angle between them is close to 90 degrees. true if vectors are orthogonal (perpendicular), false otherwise.
Parameters
| Name | Description |
|---|---|
| Normal1 | First normalized vector. |
| Normal2 | Second normalized vector. |
| OrthogonalCosineThreshold | Normals are orthogonal if absolute value of dot product (cosine of angle between them) is less than or equal to this. For example: cos(89.0 degrees). |