Skip to content

Commit 93c362b

Browse files
Update cuBQL/queries/triangleData/math/boxTriangleIntersections.h
Co-authored-by: Thiago Ize <ThiagoIze@users.noreply.github.com> Signed-off-by: Ingo Wald <iwald@nvidia.com>
1 parent 769638f commit 93c362b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cuBQL/queries/triangleData/math/boxTriangleIntersections.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace cuBQL {
8585
entirely within that slab (iff lower_k <= a_k <= upper_k),
8686
or entirely outside */
8787
if (a_k > upper_k || a_k < lower_k) {
88-
t0 = (float)PosInfTy(); t1 = -(float)PosInfTy();
88+
t0 = PosInfTy(); t1 = NegInfTy;
8989
}
9090
} else {
9191
/* line segment is not parallel to the slab planes, so we can

0 commit comments

Comments
 (0)