diff UI code/3DboxGL.h @ 23:055e0c43afe5

Leap MIDI works for 6 sliders, in exp and train modes.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Mon, 27 Oct 2014 15:52:04 +0000
parents a223551fdc1f
children b339acf124df
line wrap: on
line diff
--- a/UI code/3DboxGL.h	Thu Oct 23 18:15:46 2014 +0100
+++ b/UI code/3DboxGL.h	Mon Oct 27 15:52:04 2014 +0000
@@ -102,13 +102,17 @@
         ofLine(ix,iy,iz,left,iy,iz);
 
         //blob
-        ofDrawIcoSphere(ix,iy,iz,12);
-        // line to front (a bit wierd?)
+        drawIndicatorBlob(ix,iy,iz,c);
+        // line to front (a bit wierde?)
         ofLine(ix,iy,iz,ix,iy,front);
         
 
         
     }
+    virtual void drawIndicatorBlob( float x, float y, float z, ofColor c){
+        ofSetColor(c);
+        ofDrawIcoSphere(x,y,z,12);
+    }
     ofColor calculateHintColor(){