NewtonWorldUpdateListenerCallback

From Newton Wiki
Jump to: navigation, search

NewtonWorldUpdateListenerCallback

typedef void (*NewtonWorldUpdateListenerCallback) (const NewtonWorld* const world, void* const listenerUserData, dFloat timestep)

Usage

Callback function that is called by Newton function(s): NewtonWorldListenerSetPreUpdateCallback, NewtonWorldListenerSetPostUpdateCallback

Parameters

  • world NewtonWorld*
  • listenerUserData void*
  • timestep dFloat

Return

  • void

Description

Remarks

  • This is not a library function, but a callback event.

See also

NewtonWorldListenerSetPreUpdateCallback, NewtonWorldListenerSetPostUpdateCallback