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

void RigidBody::rotateBy ( double  dtheta  )  [protected]

Rotate the set of MechanicsItems by the given amount about the center of mass.

Parameters:
angle Rotate amount in radians

Definition at line 70 of file mechanicssimulation.cpp.

References overallParent(), and MechanicsItem::rotateBy().

{
      if (overallParent())
            overallParent()->rotateBy(dtheta);
}


Generated by  Doxygen 1.6.0   Back to index