Physics-Simulator
v1.4.0-beta.2
|
Holds all the main functions. More...
Namespaces | |
global | |
global::physics | |
global::equations | |
Macros | |
#define | DEFINED_USE_R2_VEL_MODDER 0 |
#define | DEFINED_COLLISION_NORMAL_FORCE 0 |
Functions | |
int | main (int argc, char *argv[]) |
Holds all the main functions.
#define DEFINED_COLLISION_NORMAL_FORCE 0 |
If this is defined, then program will use apply a normal force to any colliding balls. The forces are along the same direction as the velocities are. It doesn't make sense in the real world.
#define DEFINED_USE_R2_VEL_MODDER 0 |
If this is defined, then program will use unrealistic method that will increase the velocity of two colliding balls the closer they are together it will reduce the number of times that the balls stick together, but also causes them to get unrealistically high velocities.
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function
argc | = Something required by SDL |
argv | = Something required by SDL |