star-cad

Geometric operators for computer-aided design
git clone git://git.meso-star.fr/star-cad.git
Log | Files | Refs | README | LICENSE

commit 8d5936d783ab11fa6f293c985753373d345d704a
parent 919a80d3f0c0e7f93762093cd802b19cc52d495c
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu,  9 Oct 2025 11:18:20 +0200

Cleanup test_sync code

Diffstat:
Msrc/test_sync.c | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/src/test_sync.c b/src/test_sync.c @@ -43,26 +43,16 @@ main(int argc, char* argv[]) res_T res = RES_OK; const double p1[3] = {0, 0, 0}; const double p2[3] = {0.25, 0.25, 0.8}; - const double p3[3] = {0.85, 0, 0}; - const double p4[3] = {1, 0, 0}; - const double d0[3] = {0.1, 0.1, 0.1}; const double d1[3] = {1, 1, 1}; - const double d2[3] = {1, 1, 0}; - const double s[3] = {1, 1, 1}; double coord[] = {0, 1.6, 0.5, 0.9, 0.8, 0.6}; struct scad_geometry* geom1 = NULL; struct scad_geometry* geom2 = NULL; struct scad_geometry* geom = NULL; struct scad_geometry* poly = NULL; - struct scad_geometry** geom_array = NULL; - struct scad_geometry* geoms[2]; - struct scad_geometry* out_geoms[2]; struct mem_allocator allocator; struct darray_double trg; struct scad_options options = SCAD_DEFAULT_OPTIONS; - double m, tmp[3], tmp2[3]; - size_t i, c; - int e; + size_t c; (void)argc; (void)argv;