BOOL Bounds::IntersectsOBB(const Bounds &test, const Matrix &transform) const { Bounds testT = test.GetTransformedBounds(transform); Bounds thisT = GetTransformedBounds(transform.GetTranspose()); if(Intersects(testT) && thisT.Intersects(test)) return TRUE; return FALSE; }