Esempio n. 1
0
        public BoundingBoxInstance AddDrawableBox(Vector3[] corners)
        {
            var bbox = new BoundingBoxInstance(corners);

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

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