Example #1
0
 public static void DrawBounds(ref Bounds b, Color color)
 {
     DrawFilledBox(b.center, b.size, color);
 }
Example #2
0
 public void Encapsulate(Bounds bounds)
 {
     box = BoundingBox.CreateMerged(box, bounds.box);
     _boundingSphere = null;
 }
Example #3
0
 public bool Intersects(Bounds b)
 {
     // TODO : Add implementation of method
     throw new NotImplementedException("Method not implemented.");
 }
Example #4
0
 public void RecalculateBounds()
 {
     bounds = new Bounds();
     bounds.Encapsulate(_vertices);
 }