NewtonWorldSetDestructorCallback

From Newton Wiki
Jump to: navigation, search

NewtonWorldSetDestructorCallback

void NewtonWorldSetDestructorCallback (const NewtonWorld* const newtonWorld, NewtonWorldDestructorCallback destructor)

Usage

Specify a custom destructor callback for destroying the world.

Parameters

  • const NewtonWorld* const newtonWorld
  • NewtonWorldDestructorCallback destructor

Return

  • (Procedure)

Description

  • The application may specify its own world destructor.

See also

NewtonWorldSetDestructorCallback NewtonWorldGetUserData