I created a cubic AABB whose center is (-12.095000, 0.381000, 18.917000) and the radius is 1.0. That is, the length of each AABB side is 2. Then I shot a ray whose origin is (-11.210000, -0.563000, 20.452000), tmin is 0, tmax is 1.e-16f, direction is
normalize(make_float3(1, 0, 0)). To my surprise, the ray intersects with the AABB, as the IS program is called.
I can’t tell if I am doing something wrong in the code or it’s just really a numerical imprecision issue in intersection test. Does this imprecision look reasonable?