3#include <Foundation/Basics.h>
4#include <Foundation/Reflection/Implementation/StaticRTTI.h>
5#include <Foundation/Types/TypeTraits.h>
7#define PL_DECLARE_VARIANCE_HASH_HELPER(TYPE) \
9 struct plHashHelper<TYPE> \
11 PL_ALWAYS_INLINE static plUInt32 Hash(const TYPE& value) \
13 return plHashingUtils::xxHash32(&value, sizeof(TYPE)); \
15 PL_ALWAYS_INLINE static bool Equal(const TYPE& a, const TYPE& b) \
23 PL_DECLARE_POD_TYPE();
25 float m_fVariance = 0;
32 PL_DECLARE_POD_TYPE();
35 return m_fVariance == rhs.m_fVariance && m_Value == rhs.m_Value;
39 return !(*
this == rhs);
50 PL_DECLARE_POD_TYPE();
53 return m_fVariance == rhs.m_fVariance && m_Value == rhs.m_Value;
57 return !(*
this == rhs);
68 PL_DECLARE_POD_TYPE();
71 return m_fVariance == rhs.m_fVariance && m_Value == rhs.m_Value;
75 return !(*
this == rhs);
Float wrapper struct for a safe usage and conversions of angles.
Definition Angle.h:10
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12
Definition VarianceTypes.h:67
Definition VarianceTypes.h:22
Definition VarianceTypes.h:31
Definition VarianceTypes.h:49