// Determine whether the given frustum contains, intersects, or is disjoint from // the given oriented box. public static ContainmentType Contains(BoundingFrustumD frustum, ref MyOrientedBoundingBoxD obox) { return(frustum.Contains(obox.ConvertToFrustum())); }
// Returns true if this box intersects the given other box. public bool Intersects(ref MyOrientedBoundingBoxD other) { return(Contains(ref other) != ContainmentType.Disjoint); }