star-3dut

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

commit 0f1fa93bbb7ca967fffe8005d42f1f2210f18635
parent 5cf294bdd6b9783476d3b5af5ec4d4dd4fd99686
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 11 Oct 2017 16:08:57 +0200

Update the comportment of the s3dut_create_cylinder function

Close the cylinder on both sides.

Diffstat:
Msrc/s3dut_cylinder.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/s3dut_cylinder.c b/src/s3dut_cylinder.c @@ -167,8 +167,8 @@ s3dut_create_cylinder const unsigned nstacks, struct s3dut_mesh** mesh) { - return s3dut_create_thin_cylinder - (allocator, radius, height, nslices, nstacks, 0, mesh); + return s3dut_create_thin_cylinder(allocator, radius, height, nslices, + nstacks, S3DUT_CAP_POS_Z|S3DUT_CAP_NEG_Z, mesh); } res_T