|
Gama C Library
Gama C API Documentation
|
Structure representing a physics system containing bodies and collision information. More...
#include <system.h>
Data Fields | |
| int | is_active |
| gmBodies | bodies |
| gmCollision ** | collisions |
| gmPos | velocity |
| gmPos | acceleration |
| double | damping |
Structure representing a physics system containing bodies and collision information.
| gmPos gm_system::acceleration |
Acceleration applied to all bodies in the system
| gmBodies gm_system::bodies |
List of bodies in the system
| gmCollision** gm_system::collisions |
Array of collision information
| double gm_system::damping |
Damping factor applied to all bodies in the system
| int gm_system::is_active |
Whether the system is active
| gmPos gm_system::velocity |
Velocity applied to all bodies in the system