diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 15:06:17 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 15:06:17 +0100 |
commit | 3de0a0f12d9d91e120f92975bda6f9915e5b8fcb (patch) | |
tree | d3da29d03914f4a7a644d6fbd47ed513b1270eaf /src/crepe/api | |
parent | 641e202607b0f694df6662532f0165022c0f8621 (diff) | |
parent | a6350aa70a80e0fe1a6eade3b5eefd240b4942f2 (diff) |
merge physics
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Config.h | 2 | ||||
-rw-r--r-- | src/crepe/api/Rigidbody.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h index cd27343..ca2d3f1 100644 --- a/src/crepe/api/Config.h +++ b/src/crepe/api/Config.h @@ -53,7 +53,7 @@ struct Config final { * * Gravity value of game. */ - float gravity = 1; + float gravity = 10; } physics; //! default window settings diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h index f641fff..b08c8db 100644 --- a/src/crepe/api/Rigidbody.h +++ b/src/crepe/api/Rigidbody.h @@ -53,7 +53,7 @@ public: */ struct Data { //! objects mass - float mass = 0.0; + float mass = 1; /** * \brief Gravity scale factor. * |