mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
added more debug output
This commit is contained in:
parent
2e492adab7
commit
79ae46385a
@ -79,7 +79,7 @@ is_linear() const {
|
||||
void AngularForce::
|
||||
output(ostream &out) const {
|
||||
#ifndef NDEBUG //[
|
||||
out<<"AngularForce";
|
||||
out<<"AngularForce (id "<<this<<")";
|
||||
#endif //] NDEBUG
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ output(ostream &out) const {
|
||||
void AngularForce::
|
||||
write(ostream &out, unsigned int indent) const {
|
||||
#ifndef NDEBUG //[
|
||||
out.width(indent); out<<""; out<<"AngularForce:\n";
|
||||
out.width(indent); out<<""; out<<"AngularForce (id "<<this<<")\n";
|
||||
BaseForce::write(out, indent+2);
|
||||
#endif //] NDEBUG
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ is_linear() const {
|
||||
void LinearForce::
|
||||
output(ostream &out) const {
|
||||
#ifndef NDEBUG //[
|
||||
out<<"LinearForce";
|
||||
out<<"LinearForce (id "<<this<<")";
|
||||
#endif //] NDEBUG
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ output(ostream &out) const {
|
||||
void LinearForce::
|
||||
write(ostream &out, unsigned int indent) const {
|
||||
#ifndef NDEBUG //[
|
||||
out.width(indent); out<<""; out<<"LinearForce:\n";
|
||||
out.width(indent); out<<""; out<<"LinearForce (id "<<this<<")\n";
|
||||
out.width(indent+2); out<<""; out<<"_amplitude "<<_amplitude<<"\n";
|
||||
out.width(indent+2); out<<""; out<<"_mass_dependent "<<_mass_dependent<<"\n";
|
||||
out.width(indent+2); out<<""; out<<"_x_mask "<<_x_mask<<"\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user