|
Porytiles
|
#include <cstddef>#include <map>#include <vector>#include "porytiles/domain/models/rgba32.hpp"#include "porytiles/domain/models/shape_group.hpp"#include "porytiles/domain/packing/models/packable_tile.hpp"Go to the source code of this file.
Classes | |
| struct | porytiles::ShapeGroupMetadata |
| Metadata that maps PackableTile IDs to shape group membership for sharing-aware packing. More... | |
Namespaces | |
| namespace | porytiles |
Functions | |
| ShapeGroupMetadata | porytiles::build_shape_group_metadata (const std::vector< ShapeGroup< Rgba32 > > &shape_groups, const std::vector< PackableTile::Id > &combined_index_to_id) |
| Builds ShapeGroupMetadata from shape groups and a combined-index-to-ID mapping. | |