Merge branch 'master' into fs_emboss

This commit is contained in:
Filip Sykala 2022-05-11 16:05:40 +02:00
commit 34304a40bf
42 changed files with 1155 additions and 695 deletions

View file

@ -347,6 +347,12 @@ public:
inline bool empty() const { return size() == 0; }
};
template<class T, class = FloatingOnly<T>>
constexpr T NaN = std::numeric_limits<T>::quiet_NaN();
constexpr float NaNf = NaN<float>;
constexpr double NaNd = NaN<double>;
} // namespace Slic3r
#endif