示例#1
0
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);
}
示例#2
0
void
pl_recgrid_delete(pl_recgrid_t *grid)
{
  obj_array_dispose(&grid->objs);
  pool_free(grid);
}
示例#3
0
void
plDeleteRecgrid(PLrecgrid *grid)
{
  obj_array_dispose(&grid->objs);
  pool_free(grid);
}