//********************************** Banshee Engine (www.banshee3d.com) **************************************************// //**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************// using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Math * @{ */ /// /// Bounds represented by an axis aligned box and a sphere. /// [StructLayout(LayoutKind.Sequential), SerializeObject] public struct Bounds { /// /// Creates new bounds. /// /// Axis aligned box representation of the bounds. /// Sphere representation of the bounds. public Bounds(AABox box, Sphere sphere) { Box = box; Sphere = sphere; } /// /// Axis aligned box representation of the bounds. /// public AABox Box; /// /// Sphere representation of the bounds. /// public Sphere Sphere; } /** @} */ }