star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit 7990db506df37f5806bfa4638bb22dbaaa93a8dd
parent 8608a42df926f6510918a4e87a4dc8d1a826fd7e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 17 Jan 2019 12:08:00 +0100

Delete the useless declaration of the geometry dynamic array

Diffstat:
Msrc/s3d_scene_view_c.h | 16----------------
1 file changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/s3d_scene_view_c.h b/src/s3d_scene_view_c.h @@ -46,22 +46,6 @@ struct s3d_scene_view; struct geometry; -/* - * The geometry pointers must be initialized to NULL in order to define - * which pointers are valid or not - */ -static FINLINE void -geom_ptr_init__(struct mem_allocator* alloc, struct geometry** geom) -{ - (void)alloc; *geom = NULL; -} - -/* Generate the darray_geom dynamic array */ -#define DARRAY_NAME geom -#define DARRAY_DATA struct geometry* -#define DARRAY_FUNCTOR_INIT geom_ptr_init__ -#include <rsys/dynamic_array.h> - /* Generate the htable_geom hash table */ #define HTABLE_NAME geom #define HTABLE_DATA struct geometry*