Rev 2266 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2266 | Rev 2267 | ||
---|---|---|---|
Line 86... | Line 86... | ||
86 | void fill (float* buf, float s, float e, int n); // fill buf with values interpolated from s to e |
86 | void fill (float* buf, float s, float e, int n); // fill buf with values interpolated from s to e |
87 | void tween (float* buf1, float* buf2, int n, float amount); // interpolate buf2 -> buf1 by amount; store in buf1 |
87 | void tween (float* buf1, float* buf2, int n, float amount); // interpolate buf2 -> buf1 by amount; store in buf1 |
88 | void tween (float* buf1, float* buf2, int n, float* pamount); // interpolate buf2 -> buf1 by amount array; store in buf1 |
88 | void tween (float* buf1, float* buf2, int n, float* pamount); // interpolate buf2 -> buf1 by amount array; store in buf1 |
89 | void toggle (int& t, const char** sa); // toggle t and print state mesg |
89 | void toggle (int& t, const char** sa); // toggle t and print state mesg |
90 | 90 | ||
91 | struct nnmaxt { |
- | |
92 | int n; |
- | |
93 | int max; |
- | |
94 | nnmaxt () : n(0), max(1) {} |
- | |
95 | }; |
- | |
96 | std::ostream& operator<< (std::ostream&, nnmaxt&); |
- | |
97 | std::istream& operator>> (std::istream&, nnmaxt&); |
- | |
98 | - | ||
99 | #define MAKE_NNMAXER(name,var) struct name : nnmaxt { name (); } var;
|
- | |
100 | 91 | ||
101 | #endif
|
92 | #endif
|