瀏覽代碼

*** empty log message ***

Darren Ranalli 25 年之前
父節點
當前提交
88c7cf9073
共有 1 個文件被更改,包括 1 次插入9 次删除
  1. 1 9
      panda/src/particlesystem/particleSystem.h

+ 1 - 9
panda/src/particlesystem/particleSystem.h

@@ -7,9 +7,7 @@
 //#define PSDEBUG
 #endif
 
-#define PSSANITYCHECK
-
-#define DYNAMIC_POOL_RESIZING
+//#define PSSANITYCHECK
 
 #ifndef PARTICLESYSTEM_H
 #define PARTICLESYSTEM_H
@@ -41,10 +39,6 @@ private:
   int sanity_check();
 #endif
 
-#ifndef DYNAMIC_POOL_RESIZING
-  INLINE void set_pool_size(int size);
-#endif
-
   bool birth_particle(void);
   void kill_particle(int pool_index);
   void birth_litter(void);
@@ -99,9 +93,7 @@ PUBLISHED:
   ~ParticleSystem(void);
 
   // access/queries
-#ifdef DYNAMIC_POOL_RESIZING
   INLINE void set_pool_size(int size);
-#endif
   INLINE void set_birth_rate(float new_br);
   INLINE void set_litter_size(int new_ls);
   INLINE void set_litter_spread(int new_ls);