Initialising and Finishing using the Library

Raptor requires initialising a raptor_world object before using any of the classes which take the world object as an argument in their constructors. The function to make the world object is raptor_new_world() and the destructor raptor_free_world().

  raptor_world* world;
  world = raptor_new_world();
  ...
  raptor_free_world(world);