mirror of https://github.com/AxioDL/zeus.git
make OBBIntersectsBox const
This commit is contained in:
parent
07eb5e52ed
commit
988da2267f
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue