aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-12 15:06:17 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-12 15:06:17 +0100
commit3de0a0f12d9d91e120f92975bda6f9915e5b8fcb (patch)
treed3da29d03914f4a7a644d6fbd47ed513b1270eaf /src/crepe/api
parent641e202607b0f694df6662532f0165022c0f8621 (diff)
parenta6350aa70a80e0fe1a6eade3b5eefd240b4942f2 (diff)
merge physics
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Config.h2
-rw-r--r--src/crepe/api/Rigidbody.h2
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.
*