make OBBIntersectsBox const

This commit is contained in:
Jack Andersen 2017-07-02 17:33:51 -10:00
parent 07eb5e52ed
commit 988da2267f
1 changed files with 1 additions and 1 deletions

View File

@ -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]),