Lines Matching refs:TMAX

491     const T TMAX = limits<T>::max();  in findEntryAndExitPoints()  local
493 T tFrontMax = -TMAX; in findEntryAndExitPoints()
494 T tBackMin = TMAX; in findEntryAndExitPoints()
506 (abs (d1) < TMAX * r.dir.x && in findEntryAndExitPoints()
507 abs (d2) < TMAX * r.dir.x)) in findEntryAndExitPoints()
541 (abs (d1) < -TMAX * r.dir.x && in findEntryAndExitPoints()
542 abs (d2) < -TMAX * r.dir.x)) in findEntryAndExitPoints()
581 (abs (d1) < TMAX * r.dir.y && in findEntryAndExitPoints()
582 abs (d2) < TMAX * r.dir.y)) in findEntryAndExitPoints()
616 (abs (d1) < -TMAX * r.dir.y && in findEntryAndExitPoints()
617 abs (d2) < -TMAX * r.dir.y)) in findEntryAndExitPoints()
656 (abs (d1) < TMAX * r.dir.z && in findEntryAndExitPoints()
657 abs (d2) < TMAX * r.dir.z)) in findEntryAndExitPoints()
691 (abs (d1) < -TMAX * r.dir.z && in findEntryAndExitPoints()
692 abs (d2) < -TMAX * r.dir.z)) in findEntryAndExitPoints()
785 const T TMAX = limits<T>::max(); in intersects() local
788 T tBackMin = TMAX; in intersects()
801 if (r.dir.x > 1 || d < TMAX * r.dir.x) in intersects()
812 T t = (r.dir.x > 1 || d < TMAX * r.dir.x)? d / r.dir.x: TMAX; in intersects()
831 if (r.dir.x < -1 || d > TMAX * r.dir.x) in intersects()
842 T t = (r.dir.x < -1 || d > TMAX * r.dir.x)? d / r.dir.x: TMAX; in intersects()
871 if (r.dir.y > 1 || d < TMAX * r.dir.y) in intersects()
882 T t = (r.dir.y > 1 || d < TMAX * r.dir.y)? d / r.dir.y: TMAX; in intersects()
901 if (r.dir.y < -1 || d > TMAX * r.dir.y) in intersects()
912 T t = (r.dir.y < -1 || d > TMAX * r.dir.y)? d / r.dir.y: TMAX; in intersects()
941 if (r.dir.z > 1 || d < TMAX * r.dir.z) in intersects()
952 T t = (r.dir.z > 1 || d < TMAX * r.dir.z)? d / r.dir.z: TMAX; in intersects()
971 if (r.dir.z < -1 || d > TMAX * r.dir.z) in intersects()
982 T t = (r.dir.z < -1 || d > TMAX * r.dir.z)? d / r.dir.z: TMAX; in intersects()