FTransform Equivalence
Minor change here - FTransform, unlike other Unreal structs, doesn’t come with an equivalence operator by default. Not entirely surprising - consisting of 3 separate components, all of which liable to tolerances, seems sensible to leave the developer to handle their own equivalence checking.
As developers, we're more likely to reach for the == and != operators though, so lets make sure FTransform has one, with a small tolerance passed through for us - add the following.
TransformVectorized.h - CHANGE
//start ThirdParty @AirEngine - FTransform Equivalence operators
bool operator==(const FTransform& Other) const
{
return Equals(Other, KINDA_SMALL_NUMBER);
}
bool operator!=(const FTransform& Other) const
{
return !Equals(Other, KINDA_SMALL_NUMBER);
}
//end ThirdParty @AirEngine