Remove NDEBUG markers
This commit is contained in:
parent
4b5e28fa11
commit
9f229cf4ee
|
|
@ -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::
|
||||
|
|
|
|||
|
|
@ -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::
|
||||
|
|
|
|||
|
|
@ -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::
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ TypeHandle OdeMass::_type_handle;
|
|||
OdeMass::
|
||||
OdeMass() :
|
||||
_mass() {
|
||||
dMassSetZero(&_mass);
|
||||
}
|
||||
|
||||
OdeMass::
|
||||
|
|
@ -52,12 +53,10 @@ operator = (const OdeMass ©) {
|
|||
|
||||
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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Reference in New Issue