aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvisualization.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-06 00:07:27 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-06 00:07:27 +0800
commit8da0f5c82fb91c2731cd2e90a875fe92c6557407 (patch)
treef8ef262d66bd8fdc4b455da3fcceaed58d2b4d80 /visualization/qmpvisualization.hpp
parent56eaa27d4daca9264dac2e822b1126cf6eb8cbf4 (diff)
downloadQMidiPlayer-8da0f5c82fb91c2731cd2e90a875fe92c6557407.tar.xz
Use the new SMELT rendering API.
Diffstat (limited to 'visualization/qmpvisualization.hpp')
-rw-r--r--visualization/qmpvisualization.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/visualization/qmpvisualization.hpp b/visualization/qmpvisualization.hpp
index a161111..ecbfd7a 100644
--- a/visualization/qmpvisualization.hpp
+++ b/visualization/qmpvisualization.hpp
@@ -50,13 +50,13 @@ class qmpVisualization:public qmpPluginIntf
SMTRG tdscn;
SMTEX chequer;
smTTFont font,font2;
- qmpVirtualPiano3D* p3d;
+ qmpVirtualPiano3D* p3d[16];
float pos[3],rot[3],lastx,lasty;
uint32_t ctc,ctk,fintk,elb;
double etps;
bool shouldclose,playing;
int hvif,herif,hehif;
- double traveld[16][128];bool notestatus[16][128];
+ int traveld[16][128];bool notestatus[16][128];
void drawCube(smvec3d a,smvec3d b,DWORD col,SMTEX tex);
void showThread();
public: