aboutsummaryrefslogtreecommitdiff
path: root/src/example/collision.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-19 20:39:42 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-19 20:39:42 +0100
commit0a49b688a79c9cb59c1ed1bdbd1c15f9572deed9 (patch)
tree1b517092107309bea56f41f861bc171672d8cf3a /src/example/collision.cpp
parented04aa321fd390c45eff1fee03e73e6513c6b978 (diff)
added doxygen
Diffstat (limited to 'src/example/collision.cpp')
-rw-r--r--src/example/collision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/collision.cpp b/src/example/collision.cpp
index 2c476ca..f51380e 100644
--- a/src/example/collision.cpp
+++ b/src/example/collision.cpp
@@ -78,7 +78,7 @@ int main(int argc, char * argv[]) {
.constraints = {0, 0, 0},
.use_gravity = true,
.bounce = true,
- .bouncie_factor = 1,
+ .elastisity = 1,
.offset = {0,0},
});
game_object1.add_component<BoxCollider>(Vector2{0, 0}, 20, 20);