From 988da2267f53e172ea324a42cbd4e14ec2ae9ba1 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 2 Jul 2017 17:33:51 -1000 Subject: [PATCH] make OBBIntersectsBox const --- include/zeus/COBBox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zeus/COBBox.hpp b/include/zeus/COBBox.hpp index 7b807fc..c492d99 100644 --- a/include/zeus/COBBox.hpp +++ b/include/zeus/COBBox.hpp @@ -71,7 +71,7 @@ public: return COBBox(newXf, extents); } - bool OBBIntersectsBox(const COBBox& other) + bool OBBIntersectsBox(const COBBox& other) const { CVector3f v = other.transform.origin - transform.origin; CVector3f T = CVector3f(v.dot(transform.basis[0]), v.dot(transform.basis[1]),