An intersection algorithm isn\'t working; one of the values, tmin
, evaluates to 1.#INF000
- what does this mean and why is it occurring? tmax
1.#INF000
is most likely the positive infinity. If you are getting this, it means one of the following in case of your code:
t1
and t2
are both infinitet3
and t4
are both infinitet5
and t6
are both infiniteMy guess is that you are probably dividing by zero somewhere, most likely when you calculate the value of dirfrac
.