star-3dut

Generate meshes of simple geometric shapes
git clone git://git.meso-star.fr/star-3dut.git
Log | Files | Refs | README | LICENSE

commit 0179f9343a3dac06dace93664ce73c81962f18f9
parent 505faaa83c2f5c96b3a1e6b4db0face888857907
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri,  6 Oct 2017 17:14:02 +0200

Fix an assert in test.

Was invalid but passed due to a bug that is now fixed.

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

diff --git a/src/test_s3dut_hemisphere.c b/src/test_s3dut_hemisphere.c @@ -68,7 +68,7 @@ main(int argc, char** argv) NCHECK(data.positions, NULL); NCHECK(data.indices, NULL); CHECK(data.nvertices >= (32*(16-1)+1), 1); - CHECK(data.nprimitives, (32*(16-2)*2) + 32); + CHECK(data.nprimitives, (32*(16-1)*2) + 32); FOR_EACH(i, 0, data.nvertices) { double v[3];