From d6532345045fe393c2c07373241627eff0f20713 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 29 Apr 2005 03:49:56 +0000 Subject: [PATCH] formatting --- panda/src/physics/physicsManager.I | 2 +- panda/src/physics/physicsManager.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/physics/physicsManager.I b/panda/src/physics/physicsManager.I index 838404b1fb..b5ec091216 100644 --- a/panda/src/physics/physicsManager.I +++ b/panda/src/physics/physicsManager.I @@ -66,7 +66,7 @@ attach_physicalnode(PhysicalNode *p) { INLINE void PhysicsManager:: attach_physical_node(PhysicalNode *p) { nassertv(p); - for (int i = 0; i < p->get_num_physicals(); i++) { + for (int i = 0; i < p->get_num_physicals(); ++i) { attach_physical(p->get_physical(i)); } } diff --git a/panda/src/physics/physicsManager.cxx b/panda/src/physics/physicsManager.cxx index 03a5c54caf..7c96ad2679 100644 --- a/panda/src/physics/physicsManager.cxx +++ b/panda/src/physics/physicsManager.cxx @@ -55,7 +55,7 @@ PhysicsManager:: // For synchronizing across distributed computers //////////////////////////////////////////////////////////////////// void PhysicsManager:: -init_random_seed(void) { +init_random_seed() { // Use the random seed specified by the physics_manager_random_seed // Config Variable srand(_random_seed); @@ -125,7 +125,7 @@ remove_physical(Physical *p) { void PhysicsManager:: remove_physical_node(PhysicalNode *p) { nassertv(p); - for (int i = 0; i < p->get_num_physicals(); i++) { + for (int i = 0; i < p->get_num_physicals(); ++i) { remove_physical(p->get_physical(i)); } }