Value returning 1.#INF000

后端 未结 1 444
长情又很酷
长情又很酷 2021-01-14 09:24

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条回答
  • 2021-01-14 09:57

    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 infinite
    • t3 and t4 are both infinite
    • t5 and t6 are both infinite

    My guess is that you are probably dividing by zero somewhere, most likely when you calculate the value of dirfrac.

    0 讨论(0)
提交回复
热议问题