Remove NDEBUG markers

This commit is contained in:
rdb 2010-02-15 17:41:19 +00:00
parent 4b5e28fa11
commit 9f229cf4ee
5 changed files with 1 additions and 10 deletions

View File

@ -50,11 +50,9 @@ get_joint(int index) const {
void OdeBody::
write(ostream &out, unsigned int indent) const {
#ifndef NDEBUG //[
out.width(indent); out << "" << get_type() \
<< "(id = " << _id \
<< ")";
#endif //] NDEBUG
}
OdeBody::

View File

@ -97,10 +97,8 @@ get_space() const {
void OdeGeom::
write(ostream &out, unsigned int indent) const {
#ifndef NDEBUG //[
out.width(indent);
out << get_type() << "(id = " << _id << ")";
#endif //] NDEBUG
}
OdeBoxGeom OdeGeom::

View File

@ -92,7 +92,6 @@ get_body(int index) const {
void OdeJoint::
write(ostream &out, unsigned int indent) const {
#ifndef NDEBUG //[
out.width(indent); out << "" << get_type() \
<< "(id = " << _id \
<< ", body1 = ";
@ -113,7 +112,6 @@ write(ostream &out, unsigned int indent) const {
}
out << ")";
#endif //] NDEBUG
}
OdeJoint::

View File

@ -20,6 +20,7 @@ TypeHandle OdeMass::_type_handle;
OdeMass::
OdeMass() :
_mass() {
dMassSetZero(&_mass);
}
OdeMass::
@ -52,12 +53,10 @@ operator = (const OdeMass &copy) {
void OdeMass::
write(ostream &out, unsigned int indent) const {
#ifndef NDEBUG //[
out.width(indent);
out << get_type() \
<< "(mag = " << get_magnitude() \
<< ", center = " << get_center() \
<< ", inertia = " << get_inertial_tensor() \
<< ")";
#endif //] NDEBUG
}

View File

@ -105,9 +105,7 @@ get_geom(int i) {
void OdeSpace::
write(ostream &out, unsigned int indent) const {
#ifndef NDEBUG //[
out.width(indent); out << "" << get_type() << "(id = " << _id << ")";
#endif //] NDEBUG
}
OdeSpace::