mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Removed ls() as this call be accessed with Python print
This commit is contained in:
parent
fc22e864eb
commit
b76ae7cb96
@ -84,14 +84,3 @@ clear_recorder() {
|
||||
}
|
||||
|
||||
#endif // DO_COLLISION_RECORDING
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CollisionTraverser::ls
|
||||
// Access: Published
|
||||
// Description: Shortcut for write(). This is handy for interactive
|
||||
// debugging.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void CollisionTraverser::
|
||||
ls() const {
|
||||
write(nout, 0);
|
||||
}
|
||||
|
@ -80,7 +80,6 @@ PUBLISHED:
|
||||
#endif // DO_COLLISION_RECORDING
|
||||
|
||||
void output(ostream &out) const;
|
||||
INLINE void ls() const;
|
||||
void write(ostream &out, int indent_level) const;
|
||||
|
||||
private:
|
||||
|
@ -45,8 +45,9 @@ void AngularIntegrator::
|
||||
integrate(Physical *physical, AngularForceVector& forces,
|
||||
float dt) {
|
||||
// intercept in case we want to censor/adjust values
|
||||
if (dt > _max_angular_dt)
|
||||
if (dt > _max_angular_dt) {
|
||||
dt = _max_angular_dt;
|
||||
}
|
||||
|
||||
// this actually does the integration.
|
||||
child_integrate(physical, forces, dt);
|
||||
|
@ -147,14 +147,3 @@ attach_angular_integrator(AngularIntegrator *i) {
|
||||
nassertv(i);
|
||||
_angular_integrator = i;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: PhysicsManager::ls
|
||||
// Access: Published
|
||||
// Description: Shortcut for write(). This is handy for interactive
|
||||
// debugging.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void PhysicsManager::
|
||||
ls() const {
|
||||
write(nout, 0);
|
||||
}
|
||||
|
@ -74,7 +74,6 @@ PUBLISHED:
|
||||
void do_physics(float dt);
|
||||
|
||||
virtual void output(ostream &out) const;
|
||||
INLINE void ls() const;
|
||||
virtual void write_physicals(ostream &out, unsigned int indent=0) const;
|
||||
virtual void write_linear_forces(ostream &out, unsigned int indent=0) const;
|
||||
virtual void write_angular_forces(ostream &out, unsigned int indent=0) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user