void pl_world_delete(pl_world_t *world) { obj_array_dispose(&world->objs); obj_array_dispose(&world->root_objs); obj_array_dispose(&world->partSys); free((char*)world->name); free(world); }
void pl_recgrid_delete(pl_recgrid_t *grid) { obj_array_dispose(&grid->objs); pool_free(grid); }
void plDeleteRecgrid(PLrecgrid *grid) { obj_array_dispose(&grid->objs); pool_free(grid); }