remove vector comparison operators
they're dangerous as they will make things like std::min() work, but probably won't do the right thing.
This commit is contained in:
committed by
Mathias Agopian
parent
ee28f0adac
commit
2f34f9f857
@@ -30,6 +30,9 @@ struct TestFloat4 : public float4 {
|
||||
z = -3;
|
||||
w = -4;
|
||||
}
|
||||
friend bool operator < (TestFloat4 const& lhs, TestFloat4 const& rhs) noexcept {
|
||||
return any(lessThan(lhs, rhs));
|
||||
}
|
||||
};
|
||||
|
||||
using SoA = utils::StructureOfArrays<float, double, TestFloat4>;
|
||||
|
||||
Reference in New Issue
Block a user