Logo Search packages:      
Sourcecode: blender version File versions  Download package

void btUniformScalingShape::calculateLocalInertia ( btScalar  mass,
btVector3 inertia 
) const [virtual]

this linear upscaling is not realistic, but we don't deal with large mass ratios...

Definition at line 55 of file btUniformScalingShape.cpp.

{

      ///this linear upscaling is not realistic, but we don't deal with large mass ratios...
      btVector3 tmpInertia;
      m_childConvexShape->calculateLocalInertia(mass,tmpInertia);
      inertia = tmpInertia * m_uniformScalingFactor;
}


Generated by  Doxygen 1.6.0   Back to index