private void InitializeCells() { if (_rootCell != null) { throw new InvalidOperationException("Duplicated initialization call."); } if (GrowN < 1) { throw new InvalidOperationException("A value greater than 0 for grow exponent expected."); } var rootNode = new NOctNode(GrowN); var rootCellSize = rootNode.DimensionalChildCapacity * LeafCellSize; _rootCell = new NOctCell(GrowN, transform.position, rootCellSize); }
private void DrawCellGizmo(NOctCell cell) { }