Mibo.Layout3D Namespace
| Type/Module | Description |
|
|
|
|
A dense, flat 3D grid optimized for spatial locality and minimal GC pressure. Uses 'voption' (struct option) to avoid heap allocations for empty cells. Best suited for voxel-like layouts, 3D maps, or dense spatial data. For sparse data over huge coordinates, consider a chunked system instead. |
|
|
Optional renderer helper for CellGrid3D. Provides convenience methods for iterating and rendering grid contents. |
|
|
A lightweight "view" or "cursor" into a backing 3D grid. Allows defining content using relative coordinates (0,0,0 is the section's corner) and nesting layouts without copying data. |
|
|
A domain module providing standard layout stamps for interior 3D spaces. These functions generate enclosed geometry like rooms, corridors, and architectural elements. They are agnostic to content type, allowing flexible reuse. |
|
|
A fluent DSL for composing 3D layouts. All operations return the modified section to allow chaining (pipeline style). |
|
|
|
|
|
A domain module providing standard layout stamps for outdoor 3D terrain. These functions generate landscapes, paths, and terrain features. They are agnostic to content type, allowing flexible reuse. |
Mibo