Reference

Update

ay2d_update

ay2d_status ay2d_update(ay2d_model *m, float dt);

Moves the model on by dt seconds and publishes the result. See Each frame for what happens, in order.

dt seconds since the last update; 0 re-evaluates without moving time
Fails RANGE for a negative or non-number dt
Thread frame; BUSY if another thread is driving the model