diff options
Diffstat (limited to '06_performance/src/oni.h')
| -rw-r--r-- | 06_performance/src/oni.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/06_performance/src/oni.h b/06_performance/src/oni.h index 2492d79..898a7a2 100644 --- a/06_performance/src/oni.h +++ b/06_performance/src/oni.h @@ -21,6 +21,17 @@ class fpoint{ else return true; } }; +class fpointManager{ + void add(float x,float y,float z,uint8_t r,uint8_t g,uint8_t b){ + if (pointPool.size()) {//take 1st dead particle + else {}//make a new one + } + void draw(int life,float dx,float dy,float dz){ + if (p.draw(life,dx,dy,dz)) + } + vector<fpoint> points; + set<int> pointPool; +}; class syncOniPlayer{ public: syncOniPlayer() { |
