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