Mercurial > hg > tweakathon2ios
comparison UI code/3DboxGL.h @ 25:8eb530e0601b
textured hand moves correctly to 6 midi params.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 28 Oct 2014 15:19:22 +0000 |
parents | b339acf124df |
children | 8d7ae43b2edd |
comparison
equal
deleted
inserted
replaced
24:b339acf124df | 25:8eb530e0601b |
---|---|
50 | 50 |
51 ofTranslate( x+width/2, y+height/2, camTrans); | 51 ofTranslate( x+width/2, y+height/2, camTrans); |
52 ofRotate( angleX, 1, 0, 0 ); | 52 ofRotate( angleX, 1, 0, 0 ); |
53 ofRotate( angleY, 0, 1, 0 ); | 53 ofRotate( angleY, 0, 1, 0 ); |
54 | 54 |
55 setNormals(boxMesh); | 55 |
56 ofSetColor(foregroundHi); | 56 ofSetColor(foregroundHi); |
57 boxMesh.draw(); | 57 boxMesh.draw(); |
58 | 58 |
59 // draw indicators | 59 // draw indicators |
60 drawIndicator(); | 60 drawIndicator(); |