commit | 7eec9b32f74bd571a5817a293f4edfe58a2c4290 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Mon Jun 17 09:15:22 2013 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Jun 17 09:24:14 2013 -0400 |
tree | 7ccb8193522ebc44ddb55e7a26d958136caad88e | |
parent | c24744ec91f6eebd3e665bf5f374f9c9812e95f4 [diff] |
spring: Make clip behavior configurable When the spring goes outside the envelope, we have a few options for bringing it back: either just let it overshoot, bounce off the limit or just clamp it. Instead of controlling that with #ifdef, let's make it a part of the spring state.