Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderUtils.h |
Include |
#include "RenderUtils.h" |
template<typename VectorType>
FVector GenerateYAxis
(
const VectorType & XAxis,
const VectorType & ZAxis
)
Given 2 axes of a basis stored as a packed type, regenerates the y-axis tangent vector and scales by z.W
y axis (binormal)
Parameter |
Description |
---|---|
XAxis |
x axis (tangent) |
ZAxis |
z axis (normal), the sign of the determinant is stored in ZAxis.W |