#ifndef _RIGIDBODY_HPP #define _RIGIDBODY_HPP namespace yasim { // // A RigidBody object maintains all "internal" state about an object, // accumulates force and torque information from external sources, and // calculates the resulting accelerations. // // // Units note: obviously, the choice of mass, time and distance units // is up to the user. If you provide mass in kilograms, forces in // newtons, and torques in newton-meters, you'll get your // accelerations back in m/s^2. The angular units, however, are // UNIFORMLY radians. Angular velocities are radians per