diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 19:36:40 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 19:36:40 -0400 |
| commit | 13ccfb3728eb3dc3a6a5294a8f8754b3c5cbc903 (patch) | |
| tree | 44696026cf15448edba5586b6372e53354d19980 /balls.cl | |
| parent | e88035b16d88308e0604119879e078af7ac56d01 (diff) | |
| download | balls-13ccfb3728eb3dc3a6a5294a8f8754b3c5cbc903.zip | |
frame pacing
Diffstat (limited to 'balls.cl')
| -rw-r--r-- | balls.cl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ -#define G_FACTOR 3600.0f -#define G (9.81f / G_FACTOR) +#define FPS 60.0f +#define G (9.81f / FPS / FPS) #define DENSITY 1500.0f float mass(float radius); |