Ejemplo n.º 1
0
 /// <summary>
 /// Creates an orientated bounding box of size min, max.
 /// </summary>
 /// <param name="Min">Minimum x, y, z.</param>
 /// <param name="Max">Maximum x, y, z.</param>
 public OrientatedBoundingBox(Vector3 Min, Vector3 Max)
 {
     box         = new AxisAlignedBoundingBox(Min, Max);
     modelMatrix = Matrix4.Identity;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Increase the size of the bounding box (if needed) to fit the AxisAlignedBoundingBox.
 /// </summary>
 /// <param name="Box">The AxisAlignedBoundingBox to fit into this AxisAlignedBoundingBox.</param>
 public void AddBoundingBox(AxisAlignedBoundingBox Box)
 {
     //min.TakeMin(Box.Min);
     //max.TakeMax(Box.Max);
 }