static void
_ephysics_body_restitution_set(EPhysics_Body *body, double restitution)
{
+ DBG("Body %p restitution set to %lf", body, restitution);
if (body->type == EPHYSICS_BODY_TYPE_RIGID)
{
body->rigid_body->setRestitution(btScalar(restitution));
}
body->soft_body->setRestitution(btScalar(restitution));
- DBG("Body %p restitution set to %lf", body, restitution);
}
EAPI void
static void
_ephysics_body_friction_set(EPhysics_Body *body, double friction)
{
+ DBG("Body %p friction set to %lf", body, friction);
if (body->type == EPHYSICS_BODY_TYPE_RIGID)
{
body->rigid_body->setFriction(btScalar(friction));
}
body->soft_body->setFriction(btScalar(friction));
- DBG("Body %p friction set to %lf", body, friction);
}
EAPI void