For example:
A box b is placed at (32, 32) of size (64, 64).
A ray is cast from (16, 32) to (256, 32). The ray should intersect b because it passes through 32 on the Y axis, and that's the minimum Y value of b. However, the current implementation misses the intersection.
For example:
A box
bis placed at(32, 32)of size(64, 64).A ray is cast from
(16, 32)to(256, 32). The ray should intersectbbecause it passes through32on the Y axis, and that's the minimum Y value ofb. However, the current implementation misses the intersection.