summaryrefslogtreecommitdiff
path: root/gui/src/chaoslib.h
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2022-09-29 19:13:29 +0100
committerTim Redfern <tim@getdrop.com>2022-09-29 19:13:29 +0100
commit8c43a654fdc0a0fd822fd0bd9462cdadf6d96456 (patch)
tree888c79fc185ea4ed20d8fb120e8c6d8f7f53128c /gui/src/chaoslib.h
parent835ce29a83b134b037c5d9d4b9fc7a7d0cb1ada4 (diff)
Diffstat (limited to 'gui/src/chaoslib.h')
-rw-r--r--gui/src/chaoslib.h8
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++){