commit 5a2f84fcaac8c088920d7d1ee13c70bb0e73640f
parent f404dad0b74eb6d67d65acb99fa2ff88fa553758
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Wed, 28 Dec 2022 19:05:54 +0100
Fix comments in library header file
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/scad.h b/src/scad.h
@@ -197,7 +197,7 @@ scad_add_rectangle
(const char* name, /* Can be NULL */
const double xyz[3],
const double dxdy[2],
- struct scad_geometry** rectangle); /* Can be NULL: no handler returned. */
+ struct scad_geometry** rectangle);
/* Add a disk in (xy) plane to the scene, defined by a the center `xyz' and
* `radius'. */
@@ -206,7 +206,7 @@ scad_add_disk
(const char* name, /* Can be NULL */
const double xyz[3],
const double radius,
- struct scad_geometry** disk); /* Can be NULL: no handler returned. */
+ struct scad_geometry** disk);
/* Add a polygonal surface in (xy) plane to the scene at elevation z */
SCAD_API res_T
@@ -216,7 +216,7 @@ scad_add_polygon
void* data, /* Custom data; can be NULL if get_position don't use it */
const double z,
const size_t count, /* size of x and y arrays */
- struct scad_geometry** polygon); /* Can be NULL: no handler returned. */
+ struct scad_geometry** polygon);
/* Add a parallelepipedic box to the scene, defined by a point `xyz' and
* `dxdydz' the extents along the x-, y- and z-axes. */
@@ -225,7 +225,7 @@ scad_add_box
(const char* name, /* Can be NULL */
const double xyz[3],
const double dxdydz[3],
- struct scad_geometry** box); /* Can be NULL: no handler returned. */
+ struct scad_geometry** box);
/* Add a cylinder to the scene, defined by the center `xyz' of its first
* circular face, the vector `axis' defining its axis and its radius `rad'. The
@@ -237,7 +237,7 @@ scad_add_cylinder
const double axis[3],
const double radius,
const double angle,
- struct scad_geometry** cylinder); /* Can be NULL: no handler returned. */
+ struct scad_geometry** cylinder);
/* Add a sphere of center `xyz' and radius `rad' to the scene. */
SCAD_API res_T
@@ -245,7 +245,7 @@ scad_add_sphere
(const char* name, /* Can be NULL */
const double xyz[3],
const double radius,
- struct scad_geometry** sphere); /* Can be NULL: no handler returned. */
+ struct scad_geometry** sphere);
/* Compute the boolean union (the fusion) of the geometries in `geometries' and
* `tools'. */