mirror of
https://github.com/AxioDL/zeus.git
synced 2025-07-06 05:05:52 +00:00
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…
x
Reference in New Issue
Block a user