Beispiel #1
0
	float cPhysicsBodyNewton::GetLinearDamping() const
	{
		return NewtonBodyGetLinearDamping(m_pNewtonBody);
	}
float dNewtonBody::GetLinearDamping()
{
	return NewtonBodyGetLinearDamping(m_body);
}
Beispiel #3
0
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
const Math::Real
PhysicsActor::getLinearDamping() const
{
    return Math::Real(NewtonBodyGetLinearDamping(m_pActor));
}