summaryrefslogtreecommitdiffstats
path: root/src/Collision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Collision.cpp')
-rw-r--r--src/Collision.cpp2
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;