52 explicit operator double()
const
54 return double(frame_) + double(subframe_);
64 return {
INT32_MAX, std::nexttowardf(1.0f, 0.0)};
76 return a.frame_ <
b.frame_ || (a.frame_ ==
b.frame_ && a.subframe_ <
b.subframe_);
81 return a.frame_ <
b.frame_ || (a.frame_ ==
b.frame_ && a.subframe_ <=
b.subframe_);
86 return a.frame_ >
b.frame_ || (a.frame_ ==
b.frame_ && a.subframe_ >
b.subframe_);
91 return a.frame_ >
b.frame_ || (a.frame_ ==
b.frame_ && a.subframe_ >=
b.subframe_);
#define BLI_STRUCT_EQUALITY_OPERATORS_2(Type, m1, m2)
unsigned long long int uint64_t
uint64_t get_default_hash(const T &v, const Args &...args)
SubFrame(const float frame)
friend bool operator<=(const SubFrame &a, const SubFrame &b)
SubFrame(const int frame=0, float subframe=0.0f)
friend bool operator>=(const SubFrame &a, const SubFrame &b)
friend bool operator>(const SubFrame &a, const SubFrame &b)