upgrade to Filament 1.21.0
This commit is contained in:
@@ -21,14 +21,10 @@
|
||||
|
||||
#include <cmath> // for std:: namespace
|
||||
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
namespace filament {
|
||||
namespace math {
|
||||
namespace details {
|
||||
// -------------------------------------------------------------------------------------
|
||||
namespace filament::math::details {
|
||||
|
||||
template<typename U>
|
||||
inline constexpr U min(U a, U b) noexcept {
|
||||
@@ -281,8 +277,6 @@ private:
|
||||
template<typename U>
|
||||
friend inline constexpr
|
||||
bool MATH_PURE operator==(const VECTOR<T>& lv, const VECTOR<U>& rv) {
|
||||
// w/ inlining we end-up with many branches that will pollute the BPU cache
|
||||
MATH_NOUNROLL
|
||||
for (size_t i = 0; i < lv.size(); i++) {
|
||||
if (lv[i] != rv[i]) {
|
||||
return false;
|
||||
@@ -624,9 +618,6 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
// -------------------------------------------------------------------------------------
|
||||
} // namespace details
|
||||
} // namespace math
|
||||
} // namespace filament
|
||||
} // namespace filament::math::details
|
||||
|
||||
#endif // TNT_MATH_TVECHELPERS_H
|
||||
|
||||
Reference in New Issue
Block a user