diff options
Diffstat (limited to 'gui/src/chaoslib.h')
| -rw-r--r-- | gui/src/chaoslib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/src/chaoslib.h b/gui/src/chaoslib.h index 159b22b..e4a08ae 100644 --- a/gui/src/chaoslib.h +++ b/gui/src/chaoslib.h @@ -120,14 +120,14 @@ class chaosPanel : public ofxPanel { } bool keyPressed(ofKeyEventArgs & args){ if (isSelected){ - //ofLog()<<"KEY> "<<args.key; + //ofLog()<<"chaos KEY> "<<args.key; switch(args.key){ - case 3812:{ + case 3680:{ //812:{ chaosloader.previous(); update_sliders(); break; } - case 3814:{ + case 3681:{ //814:{ chaosloader.next(); update_sliders(); break; @@ -174,7 +174,7 @@ class chaosPanel : public ofxPanel { } } } - colourPolyline compute_chaos(colourPolyline& poly){ + colourPolyline compute_chaos(const colourPolyline& poly){ float chaosscale=1.0f; colourPolyline tempPoly; for (int i=0;i<poly.size();i++){ |
