Code: Select all
if ((delta > SimdScalar(0.0)) && (delta * delta > squaredDistance * input.m_maximumDistanceSquared))
Code: Select all
squaredDistance = SIMD_INFINITY
input.m_maximumDistanceSquared = 1.0E+30
Is this on purpose? What happens with the compare when one side is INF?