|
MCORE_INLINE bool | CheckIfIsClose (const float &a, const float &b, float threshold) |
|
MCORE_INLINE bool | CheckIfIsClose (const AZ::Vector2 &a, const AZ::Vector2 &b, float threshold) |
|
MCORE_INLINE bool | CheckIfIsClose (const AZ::Vector3 &a, const AZ::Vector3 &b, float threshold) |
|
MCORE_INLINE bool | CheckIfIsClose (const AZ::Vector4 &a, const AZ::Vector4 &b, float threshold) |
|
MCORE_INLINE bool | CheckIfIsClose (const AZ::Quaternion &a, const AZ::Quaternion &b, float threshold) |
|
template<class T>
class MCore::Compare< T >
The class used to check differences between given objects. The differences are all represented as floats. This class can be useful in some specific algorithms used for optimizing data sets. Partial template specialization is used to calculate differences between custom object types. There is already support provided for a number of types, such as floats, ints and vectors.