summaryrefslogtreecommitdiff
path: root/frontend/2d/_collisions/rectangle_rectangle
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-05-13 21:23:12 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-05-13 21:23:12 -0400
commit262f29447700db129ff3fa25315382d80581a41c (patch)
tree47f70cef43a6bc00b639853ed1597b547683fac0 /frontend/2d/_collisions/rectangle_rectangle
parentf40037a4a04933d66b6025873d2483169848fb74 (diff)
Some slight number tweaks, going to move on to something more complicated for now
Diffstat (limited to 'frontend/2d/_collisions/rectangle_rectangle')
-rwxr-xr-xfrontend/2d/_collisions/rectangle_rectangle/dist/output.wasmbin55719 -> 55719 bytes
-rw-r--r--frontend/2d/_collisions/rectangle_rectangle/main.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/frontend/2d/_collisions/rectangle_rectangle/dist/output.wasm b/frontend/2d/_collisions/rectangle_rectangle/dist/output.wasm
index a6d85e9..f5eaef0 100755
--- a/frontend/2d/_collisions/rectangle_rectangle/dist/output.wasm
+++ b/frontend/2d/_collisions/rectangle_rectangle/dist/output.wasm
Binary files differ
diff --git a/frontend/2d/_collisions/rectangle_rectangle/main.cpp b/frontend/2d/_collisions/rectangle_rectangle/main.cpp
index 37cce89..99dafe5 100644
--- a/frontend/2d/_collisions/rectangle_rectangle/main.cpp
+++ b/frontend/2d/_collisions/rectangle_rectangle/main.cpp
@@ -33,7 +33,7 @@ struct Rigidbody {
}
void applyGravity(float32 deltaTimeSeconds) {
- velocity += (Vector2 { 0.f, -96.f } * deltaTimeSeconds);
+ velocity += (Vector2 { 0.f, -50.f } * deltaTimeSeconds);
}
void update(float32 deltaTimeSeconds) {