mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
squelch compiler warning
This commit is contained in:
parent
7bf1df25be
commit
5d2f14ac16
@ -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) {
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user