|
Porytiles
|
Go to the source code of this file.
Namespaces | |
| namespace | porytiles |
Functions | |
| bool | porytiles::palette_contains_sibling (const PackableTile::Id &tile_id, const PackedPalette &palette, const ShapeGroupMetadata &metadata) |
| Checks whether a palette already contains a sibling of the given tile (same shape group, different tile). | |
| double | porytiles::compute_sharing_penalty (const PackableTile &tile, const PackedPalette &palette, const ShapeGroupMetadata &metadata, double sharing_weight=0.5) |
| Computes the sharing penalty for placing a tile in a palette. | |