Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/TransformTypes.h |
Include |
#include "TransformTypes.h" |
template<typename RealType2, typename TEnableIf< std::is_same< RealType, RealType2 >::value==false, int >::type>
TVector< RealType2 > TransformPosition
(
const UE::Math::TVector< RealType2 > & P
) const
Vector-type-conversion variants. This allows applying a float transform to double vector and vice-versa. Whether this should be allowed is debatable. However in practice it is extremely rare to convert an entire float transform to a double transform in order to apply to a double vector, which is the only case where this conversion is an issue