/* * interpolation.h * * Allows you to slowly step functions to new values rather than suddenly changing them. * */ #import "vector.h" // Glide functions // Run all registered glides. Should be called every frame. void run_glides(); // register_xxx_glide will register a glide for a function whose second parameter is of type xxx. // The duration is in seconds. void register_vector_glide(void *obj, vector delta, void (*func)(void *obj, vector delta), float duration);