public bool Intersects( AxisAlignedBox box ) { return Utility.Intersects( this, box ); }
/// <summary> /// / /// </summary> /// <param name="sphere"></param> /// <param name="terrainList"></param> public void SphereIntersects(Sphere sphere, out List<Terrain> terrainList) { terrainList = new List<Terrain>(); foreach (TerrainSlot i in _terrainSlots.Values) { if (i.Instance != null && sphere.Intersects(i.Instance.WorldAABB)) terrainList.Add(i.Instance); } }