public BoundingVolumeHierarchyNode(IEntityHitable left,
                                    IEntityHitable right,
                                    IBoundsComputer boundsComputer,
                                    IHitableBoundsComputer hitableBoundsComputer)
 {
     Left                   = left;
     Right                  = right;
     _boundsComputer        = boundsComputer;
     _hitableBoundsComputer = hitableBoundsComputer;
 }
Esempio n. 2
0
 public HitableBounds(Bounds bounds, IHitableBoundsComputer computer)
 {
     _bounds   = bounds;
     _computer = computer;
 }