#include <b2Math.h>
Public Member Functions | |
void | Advance (float32 alpha) |
void | GetTransform (b2Transform *xfb, float32 beta) const |
void | Normalize () |
Normalize the angles. | |
Public Attributes | |
float32 | a |
world angles | |
float32 | a0 |
float32 | alpha0 |
b2Vec2 | c |
center world positions | |
b2Vec2 | c0 |
b2Vec2 | localCenter |
local center of mass position |
This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may no coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position.
void b2Sweep::Advance | ( | float32 | alpha | ) | [inline] |
void b2Sweep::GetTransform | ( | b2Transform * | xfb, |
float32 | beta | ||
) | const [inline] |
void b2Sweep::Normalize | ( | ) | [inline] |