| 1234567891011121314151617181920212223242526272829 |
- namespace BansheeEngine
- {
- /// <summary>
- /// Bounds represented by an axis aligned box and a sphere.
- /// </summary>
- public struct Bounds
- {
- /// <summary>
- /// Creates new bounds.
- /// </summary>
- /// <param name="box">Axis aligned box representation of the bounds.</param>
- /// <param name="sphere">Sphere representation of the bounds.</param>
- public Bounds(AABox box, Sphere sphere)
- {
- Box = box;
- Sphere = sphere;
- }
- /// <summary>
- /// Axis aligned box representation of the bounds.
- /// </summary>
- public AABox Box;
- /// <summary>
- /// Sphere representation of the bounds.
- /// </summary>
- public Sphere Sphere;
- }
- }
|