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