public BoundingBoxInstance AddDrawableBox(Vector3[] corners)
        {
            var bbox = new BoundingBoxInstance(corners);

            mBoundingBoxes.Add(bbox);
            return(bbox);
        }
        public BoundingBoxInstance AddDrawableBox(BoundingBox box)
        {
            var bbox = new BoundingBoxInstance(box);

            mBoundingBoxes.Add(bbox);
            return(bbox);
        }
 public void RemoveDrawableBox(BoundingBoxInstance instance)
 {
     mBoundingBoxes.Remove(instance);
     instance.Dispose();
 }