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