mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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
|
#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
|
#endif // DO_COLLISION_RECORDING
|
||||||
|
|
||||||
void output(ostream &out) const;
|
void output(ostream &out) const;
|
||||||
INLINE void ls() const;
|
|
||||||
void write(ostream &out, int indent_level) const;
|
void write(ostream &out, int indent_level) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -45,8 +45,9 @@ void AngularIntegrator::
|
|||||||
integrate(Physical *physical, AngularForceVector& forces,
|
integrate(Physical *physical, AngularForceVector& forces,
|
||||||
float dt) {
|
float dt) {
|
||||||
// intercept in case we want to censor/adjust values
|
// intercept in case we want to censor/adjust values
|
||||||
if (dt > _max_angular_dt)
|
if (dt > _max_angular_dt) {
|
||||||
dt = _max_angular_dt;
|
dt = _max_angular_dt;
|
||||||
|
}
|
||||||
|
|
||||||
// this actually does the integration.
|
// this actually does the integration.
|
||||||
child_integrate(physical, forces, dt);
|
child_integrate(physical, forces, dt);
|
||||||
|
@ -147,14 +147,3 @@ attach_angular_integrator(AngularIntegrator *i) {
|
|||||||
nassertv(i);
|
nassertv(i);
|
||||||
_angular_integrator = 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);
|
void do_physics(float dt);
|
||||||
|
|
||||||
virtual void output(ostream &out) const;
|
virtual void output(ostream &out) const;
|
||||||
INLINE void ls() const;
|
|
||||||
virtual void write_physicals(ostream &out, unsigned int indent=0) 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_linear_forces(ostream &out, unsigned int indent=0) const;
|
||||||
virtual void write_angular_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