Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/TransformTypes.h |
Include |
#include "TransformTypes.h" |
TVector< RealType > TransformNormal
(
const UE::Math::TVector< RealType > & Normal
) const
Surface Normals are special, their transform is Rotate( Normalize( (1/Scale) * Normal) ) ). However 1/Scale requires special handling in case any component is near-zero.
input surface normal with transform applied.