dsys2
diff src/dsys2.h @ 5:94ce16dd20c0
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 02 Sep 2011 01:57:00 +0300 |
parents | 34d90cd9ef9b |
children | 80f86f0f67ec |
line diff
1.1 --- a/src/dsys2.h Thu Sep 01 07:55:22 2011 +0300 1.2 +++ b/src/dsys2.h Fri Sep 02 01:57:00 2011 +0300 1.3 @@ -48,6 +48,10 @@ 1.4 void dsys_event_callback(struct dsys_event *ev, void (*func)(void*), void *cls); 1.5 void dsys_event_link(struct dsys_event *ev, float *link); 1.6 1.7 +/* event evaluators */ 1.8 +float dsys_eval_step(struct dsys_event *ev, demotime_t t); 1.9 +float dsys_eval_lerp(struct dsys_event *ev, demotime_t t); 1.10 +float dsys_eval_sigmoid(struct dsys_event *ev, demotime_t t); 1.11 1.12 /* time conversion */ 1.13 demotime_t dsys_sec_to_dtime(float sec);