Go to the source code of this file.
◆ GenerateYAxis()
| FVector GenerateYAxis |
( |
const VectorType & |
XAxis, |
|
|
const VectorType & |
ZAxis |
|
) |
| |
|
inline |
Given 2 axes of a basis stored as a packed type, regenerates the y-axis tangent vector and scales by z.W
- Parameters
-
| XAxis | - x axis (tangent) |
| ZAxis | - z axis (normal), the sign of the determinant is stored in ZAxis.W |
- Returns
- y axis (binormal)
◆ GetBasisDeterminantSign()
Constructs a basis matrix for the axis vectors and returns the sign of the determinant
- Parameters
-
| XAxis | - x axis (tangent) |
| YAxis | - y axis (binormal) |
| ZAxis | - z axis (normal) |
- Returns
- sign of determinant either -1 or +1
◆ GetBasisDeterminantSignByte()
Constructs a basis matrix for the axis vectors and returns the sign of the determinant
- Parameters
-
| XAxis | - x axis (tangent) |
| YAxis | - y axis (binormal) |
| ZAxis | - z axis (normal) |
- Returns
- sign of determinant either -127 (-1) or +1 (127)