diff options
| author | arngo <[email protected]> | 2022-11-05 20:53:49 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2022-11-05 20:53:49 -0400 |
| commit | ceb76492b07dbeda6949f35008999d0f400e49fd (patch) | |
| tree | 161a884d4930533a0e2521ea05fc4f806bb38de5 /src/physics.hpp | |
| parent | 3c8e6238ebed92691dac9393893ca6214ab060ab (diff) | |
| download | orbital_game-ceb76492b07dbeda6949f35008999d0f400e49fd.tar.gz orbital_game-ceb76492b07dbeda6949f35008999d0f400e49fd.zip | |
move gravity force calculation to separate function
Diffstat (limited to 'src/physics.hpp')
| -rw-r--r-- | src/physics.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/physics.hpp b/src/physics.hpp index a5b3b83..e26df15 100644 --- a/src/physics.hpp +++ b/src/physics.hpp @@ -16,4 +16,5 @@ namespace Physics { //0.01667 void step(float deltaTime); + Vector2 get_grav_force(Body body1, Body body2); } |
