diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-01-10 00:01:13 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-01-10 00:01:13 +0000 |
| commit | 7aa82f00186fe296ba0f818ce6cfe6cb4317bd68 (patch) | |
| tree | 2be47ffdd90c77d7cecfefb5838b850121dbc646 /src/keyVar.cpp | |
| parent | 108fb02ea1e6630b27796c4f0da5236f9e6a7e7f (diff) | |
finish xml settings
Diffstat (limited to 'src/keyVar.cpp')
| -rw-r--r-- | src/keyVar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyVar.cpp b/src/keyVar.cpp index 2c92896..06fd2bd 100644 --- a/src/keyVar.cpp +++ b/src/keyVar.cpp @@ -52,3 +52,6 @@ float keyVar::getInc(){ float segment = min(1.0f,(ofGetElapsedTimef()-timePressed)/accelTime); return pow(segment,accel)*speed*state; } +void keyVar::setVal(float _val){ + val=_val; +} |
