Closed EriKWDev closed 1 month ago
That's an interesting one. Is point
in this code also a Vec3A
?
I have fixed this, it will break your code though sorry.
The SIMD types use Deref
to give direct access to .x
, .y
etc. The return type used by Deref
was deriving PartialOrd
, which is why your code was working in this instance. It wasn't intended, PartialOrd
was removed from glam types a long time ago (see #138, #168). You should be able to achieve the same thing with point.cmple(&Vec3A::splat(0.5)).all()
I think.
On x86, this compiles fine.
On macbook M2, which uses the implementation in
src/f32/scalar
as opposed to thesrc/f32/sse2/
which my stationary uses, we get the following compilation errorI don't know what implementing
Iterator
has to do with supporting thePartialOrd
trait, but rustc is very determined that is the reason.