star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit 0ac98c30e356367923588407129a1b3e4eae8710
parent 6e6566d07b8a7bbdad0b428142e796d434aeb485
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 17 Mar 2023 16:00:21 +0100

Fix compile warning in "closest point" tests

Diffstat:
Msrc/test_s3d_closest_point.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test_s3d_closest_point.c b/src/test_s3d_closest_point.c @@ -1074,7 +1074,7 @@ test_single_triangle(struct s3d_device* dev) f3_mulf(tmp, BC, -MMIN(1, MMAX(0, -f3_dot(CP, BC) / lbc2)))); } } - else { ASSERT(0); } + else { FATAL("Unreachable code\n"); } dist = f3_len(f3_sub(tmp, pos, closest)); } CHK(eq_epsf(hit.distance, dist, eps));