star-3daw

Create star-3d geometries from OBJ files
git clone git://git.meso-star.fr/star-3daw.git
Log | Files | Refs | README | LICENSE

commit 5f3dfb8977da31564ee159b2e3409a6af70498e1
parent 736c73c78fe7ddb9bc30ff3acc754db6ee7d49fc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 14 Apr 2016 12:09:07 +0200

Rename the s3daw attachement functions

Diffstat:
Msrc/s3daw.c | 4++--
Msrc/s3daw.h | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/s3daw.c b/src/s3daw.c @@ -592,7 +592,7 @@ s3daw_get_shape(struct s3daw* s3daw, const size_t ishape, struct s3d_shape** sha } res_T -s3daw_attach_shapes_to_scene(struct s3daw* s3daw, struct s3d_scene* scene) +s3daw_attach_to_scene(struct s3daw* s3daw, struct s3d_scene* scene) { struct s3d_shape* shape = NULL; size_t i=0, n=0; @@ -623,7 +623,7 @@ error: } res_T -s3daw_detach_shapes_from_scene(struct s3daw* s3daw, struct s3d_scene* scene) +s3daw_detach_from_scene(struct s3daw* s3daw, struct s3d_scene* scene) { struct s3d_shape* shape = NULL; size_t i=0, n=0; diff --git a/src/s3daw.h b/src/s3daw.h @@ -125,13 +125,13 @@ s3daw_get_shape /* Attach the loaded s3d shapes to the submitted scene. */ S3DAW_API res_T -s3daw_attach_shapes_to_scene +s3daw_attach_to_scene (struct s3daw* s3daw, struct s3d_scene* scene); /* Detach the loaded s3d shapes from the submitted scene. */ S3DAW_API res_T -s3daw_detach_shapes_from_scene +s3daw_detach_from_scene (struct s3daw* s3daw, struct s3d_scene* scene);