| Linderdaum Engine: Body Struct Reference | ![]() |
#include <BoxLite.h>
Public Member Functions | |
| Body () | |
| void | Set (const Vec2 &w, float m) |
| void | AddForce (const Vec2 &f) |
Public Attributes | |
| Vec2 | width |
| Vec2 | position |
| Vec2 | velocity |
| Vec2 | force |
| float | rotation |
| float | angularVelocity |
| float | torque |
| float | friction |
| float | mass |
| float | invMass |
| float | I |
| float | invI |
| Body::Body | ( | ) | [inline] |
| void Body::AddForce | ( | const Vec2 & | f | ) | [inline] |