hx3d
1
2D/3D Simple Game Framework
|
Physical mass data. More...
#include <mass.hpp>
Public Member Functions | |
void | setMass (float amount) |
Set the current mass. More... | |
void | setInertia (float amount) |
Set the current inertia. More... | |
Public Attributes | |
float | mass |
Current mass. | |
float | invMass |
Current inverted mass. | |
float | inertia |
Current inertia. | |
float | invInertia |
Current inverted inertia. | |
void hx3d::physics2d::Mass::setInertia | ( | float | amount | ) |
void hx3d::physics2d::Mass::setMass | ( | float | amount | ) |