[−][src]Function rapier2d::utils::simd_swap
pub fn simd_swap(do_swap: SimdBool, a: &mut SimdFloat, b: &mut SimdFloat)
Conditionally swaps each lanes of a
with those of b
.
For each i in [0..SIMD_WIDTH[
, if do_swap.extract(i)
is true
then
a.extract(i)
is swapped with b.extract(i)
.