diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2023-07-08 21:41:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 21:41:27 +0200 |
commit | a68f48ad526d0843eb451af0be7f119db5ff794e (patch) | |
tree | 3c539c9e7de841c6616f532dadb7c8c1ef552d95 /src/Collision.cpp | |
parent | Merge pull request #80 from LaG1924/ftr/better-water (diff) | |
parent | Fixed some errors detected by static analysis (diff) | |
download | AltCraft-master.tar AltCraft-master.tar.gz AltCraft-master.tar.bz2 AltCraft-master.tar.lz AltCraft-master.tar.xz AltCraft-master.tar.zst AltCraft-master.zip |
Diffstat (limited to 'src/Collision.cpp')
-rw-r--r-- | src/Collision.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Collision.cpp b/src/Collision.cpp index 4f2c837..0caad03 100644 --- a/src/Collision.cpp +++ b/src/Collision.cpp @@ -1,6 +1,6 @@ #include "Collision.hpp" -bool TestCollision(AABB first, AABB second) { +bool TestCollision(const AABB& first, const AABB& second) { double firstXl = first.x; double firstXr = first.x + first.w; |