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 4d8742a6c34b6d02f870f52ca59c73ab73dafa5d
parent 73fe11d36a4f338c1bb0774bbd9e10fa3dc17eb4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 18 Jan 2018 16:02:45 +0100

Fix the sample_sphere test

Diffstat:
Msrc/test_s3d_sample_sphere.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/test_s3d_sample_sphere.c b/src/test_s3d_sample_sphere.c @@ -101,6 +101,7 @@ main(int argc, char** argv) CHK(f3_eq_eps(attr0.value, attr1.value, 1.e-3f)); /* Check that 50 percents of samples lie onto "sphere0" */ + sum = 0; FOR_EACH(i, 0, N) { const float u = rand_canonic(); const float v = rand_canonic();