changed function name
This commit is contained in:
parent
f1b66dabf3
commit
1db07a09b2
|
|
@ -51,10 +51,14 @@ add_linear_force(LinearForce *f) {
|
|||
////////////////////////////////////////////////////////////////////
|
||||
// Function : attach_physicalnode
|
||||
// Access : Public
|
||||
// Description : Registers a physicalnode with the manager
|
||||
// Description : Please call attach_physical_node instead.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void PhysicsManager::
|
||||
attach_physicalnode(PhysicalNode *p) {
|
||||
cerr<<"attach_physicalnode (aka attachPhysicalnode) has been"
|
||||
<<"replaced with attach_physical_node (aka attachPhysicalNode)."
|
||||
<<" Please change the spelling of the function in your code."
|
||||
<<endl;
|
||||
attach_physical_node(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ PUBLISHED:
|
|||
INLINE void attach_linear_integrator(LinearIntegrator *i);
|
||||
INLINE void attach_angular_integrator(AngularIntegrator *i);
|
||||
INLINE void attach_physical(Physical *p);
|
||||
INLINE void attach_physicalnode(PhysicalNode *p);
|
||||
INLINE void attach_physicalnode(PhysicalNode *p); // use attach_physical_node instead.
|
||||
INLINE void attach_physical_node(PhysicalNode *p);
|
||||
INLINE void add_linear_force(LinearForce *f);
|
||||
INLINE void add_angular_force(AngularForce *f);
|
||||
|
|
|
|||
Loading…
Reference in New Issue