From 1a7e15a63d78a6351028d977b90052f6b0d6bf7d Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 28 Jun 2013 23:32:10 +0100 Subject: first performance version --- 06_performance/src/oni.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '06_performance/src/oni.h') diff --git a/06_performance/src/oni.h b/06_performance/src/oni.h index 821dba7..305d8f1 100644 --- a/06_performance/src/oni.h +++ b/06_performance/src/oni.h @@ -43,6 +43,10 @@ class syncOniPlayer{ LUT=NULL; makeLUT(); playerActive=false; +<<<<<<< HEAD + points.reserve(100000); //operator new seems to be causing crshes? +======= +>>>>>>> fd8dc2aa23c4bbc297e835e4f920aaf5342aba5e } ~syncOniPlayer(){ stop(); @@ -64,6 +68,7 @@ class syncOniPlayer{ int getCurrentFrame(); float getPosition(); int getNumParticles(); + string getCurrentFile(); void drawWindows(); void drawCloud(int step); void drawPoints(float birth,float life,float dx,float dy, float dz,float size); @@ -90,6 +95,10 @@ class oniManager{ int getNumClips(); int getNumParticles(); syncOniPlayer* getCurrentPlayer(); +<<<<<<< HEAD + string getCurrentFile(); +======= +>>>>>>> fd8dc2aa23c4bbc297e835e4f920aaf5342aba5e void update(); void drawWindows(); void drawCloud(int step); -- cgit v1.2.3