aboutsummaryrefslogtreecommitdiff
path: root/visualization/qmpvirtualpiano3d.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-12 00:58:40 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-05-12 00:58:40 +0800
commita7407edaf81c685d4a389785a405a53a5de4b148 (patch)
treee6e4f2d85f2172c94ac83a6e8f01e1e90a78ede9 /visualization/qmpvirtualpiano3d.hpp
parent437b7b16c322a8e53ac55a5f831098494d9a7073 (diff)
downloadQMidiPlayer-a7407edaf81c685d4a389785a405a53a5de4b148.tar.xz
Format EVERYTHING.
Hopefully this will make the source code less horrendous and actually readable. The command used was: ``` astyle --suffix=none --style=allman --attach-extern-c --attach-closing-while --indent-switches --indent-after-parens --pad-oper --pad-header --unpad-paren --align-pointer=name --recursive './*.cpp,*.hpp' ```
Diffstat (limited to 'visualization/qmpvirtualpiano3d.hpp')
-rw-r--r--visualization/qmpvirtualpiano3d.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/visualization/qmpvirtualpiano3d.hpp b/visualization/qmpvirtualpiano3d.hpp
index cecd992..d00212a 100644
--- a/visualization/qmpvirtualpiano3d.hpp
+++ b/visualization/qmpvirtualpiano3d.hpp
@@ -16,15 +16,15 @@
#define BK_DBOTTOM 1.
class qmpVirtualPiano3D
{
- private:
- smEntity3D *wkcf,*wkeb,*wkd,*wkg,*wka,*bk;
- smEntity3DBuffer *ebuf;
- void buildKeys();
- double traveld[128];
- public:
- qmpVirtualPiano3D();
- ~qmpVirtualPiano3D();
- void render(smvec3d p);
- void setKeyTravelDist(int k,double td);
+private:
+ smEntity3D *wkcf, *wkeb, *wkd, *wkg, *wka, *bk;
+ smEntity3DBuffer *ebuf;
+ void buildKeys();
+ double traveld[128];
+public:
+ qmpVirtualPiano3D();
+ ~qmpVirtualPiano3D();
+ void render(smvec3d p);
+ void setKeyTravelDist(int k, double td);
};
#endif // QMPVIRTUALPIANO3D_H