squelch compiler warning

This commit is contained in:
David Rose 2004-01-26 23:28:30 +00:00
parent 7bf1df25be
commit 5d2f14ac16
3 changed files with 11 additions and 1 deletions

View File

@ -66,8 +66,8 @@ set_highest_collision(const NodePath &target_node_path, const NodePath &from_nod
// Get the maximum height for all collisions with this node.
bool got_max = false;
float max_height = 0.0f;
CollisionEntry *highest = NULL;
CollisionEntry* highest;
_outer_space = entries.empty();
Entries::const_iterator ei;
for (ei = entries.begin(); ei != entries.end(); ++ei) {

View File

@ -35,6 +35,15 @@ ParticleSystemManager(int every_nth_frame) :
_nth_frame(every_nth_frame), _cur_frame(0) {
}
////////////////////////////////////////////////////////////////////
// Function : ParticleSystemManager
// Access : Public, Virtual
// Description : Destructor
////////////////////////////////////////////////////////////////////
ParticleSystemManager::
~ParticleSystemManager() {
}
////////////////////////////////////////////////////////////////////
// Function : remove_particlesystem
// Access : public

View File

@ -34,6 +34,7 @@
class EXPCL_PANDAPHYSICS ParticleSystemManager {
PUBLISHED:
ParticleSystemManager(int every_nth_frame = 1);
virtual ~ParticleSystemManager();
INLINE void set_frame_stepping(int every_nth_frame);
INLINE int get_frame_stepping() const;