Gama C Library
Gama C API Documentation
Loading...
Searching...
No Matches
gm_system Struct Reference

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

Detailed Description

Structure representing a physics system containing bodies and collision information.

Field Documentation

◆ acceleration

gmPos gm_system::acceleration

Acceleration applied to all bodies in the system

◆ bodies

gmBodies gm_system::bodies

List of bodies in the system

◆ collisions

gmCollision** gm_system::collisions

Array of collision information

◆ damping

double gm_system::damping

Damping factor applied to all bodies in the system

◆ is_active

int gm_system::is_active

Whether the system is active

◆ velocity

gmPos gm_system::velocity

Velocity applied to all bodies in the system


The documentation for this struct was generated from the following file: