aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorkotorifan <kotorifan05@gmail.com>2026-04-22 09:36:40 +0200
committerkotorifan <kotorifan05@gmail.com>2026-04-22 09:36:40 +0200
commit1c373d7864ee3d3e86f48e060760ac3de020ba4d (patch)
treeae9b56a3f5229b0ee265adc25bf2b79599711551 /src/main.c
parentb40d44202ed0c79cbb769edba8de57412d07501a (diff)
downloadtrashbinphysics-1c373d7864ee3d3e86f48e060760ac3de020ba4d.tar.gz
Gravity works now
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 75042da..af9bf06 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,8 +26,8 @@ int main(void)
.grabbed = true,
.pos_prev = {0},
.registered = true,
- .size_x = 40,
- .size_y = 40,
+ .size_x = 75,
+ .size_y = 75,
.vel = {200, 200},
.pos = { GetScreenWidth()/2.0f, GetScreenHeight()/2.0f },
.obj_type = RANDOM_SHAPE()
@@ -90,8 +90,8 @@ int main(void)
.grabbed = false,
.registered = true,
.mass = GetRandomValue(3, 100), // will be done later
- .size_x = GetRandomValue(3, 20), //everything smaller than 3 would be too small
- .size_y = GetRandomValue(3, 20),
+ .size_x = GetRandomValue(50, 100), //everything smaller than 3 would be too small
+ .size_y = GetRandomValue(50, 100),
.obj_type = RANDOM_SHAPE()
};
}