formatting

This commit is contained in:
Dave Schuyler 2005-04-29 03:49:56 +00:00
parent 88c436e5b9
commit d653234504
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ attach_physicalnode(PhysicalNode *p) {
INLINE void PhysicsManager:: INLINE void PhysicsManager::
attach_physical_node(PhysicalNode *p) { attach_physical_node(PhysicalNode *p) {
nassertv(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)); attach_physical(p->get_physical(i));
} }
} }

View File

@ -55,7 +55,7 @@ PhysicsManager::
// For synchronizing across distributed computers // For synchronizing across distributed computers
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
void PhysicsManager:: void PhysicsManager::
init_random_seed(void) { init_random_seed() {
// Use the random seed specified by the physics_manager_random_seed // Use the random seed specified by the physics_manager_random_seed
// Config Variable // Config Variable
srand(_random_seed); srand(_random_seed);
@ -125,7 +125,7 @@ remove_physical(Physical *p) {
void PhysicsManager:: void PhysicsManager::
remove_physical_node(PhysicalNode *p) { remove_physical_node(PhysicalNode *p) {
nassertv(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)); remove_physical(p->get_physical(i));
} }
} }