private void queryAction(List<ModelComponent> r, OctCell cell) { if (cell.contents != null) r.AddRange(cell.contents.Select((n) => { return n.spacial; })); }
public Scene(BoundingBox worldBounds, float leafSize) { octTreeRoot = new OctCell(worldBounds); this.minimumLeafSize = leafSize; }