Aller au contenu

Enumeration HrzProtocol.PolygonPatternTilingType

Defined in hrz/protocol/vector/polygon_pattern.proto.

Keep this in sync with hrz/core/shaders/glsl/flat_vectors/pattern_defs.glsl


POLYGON_PATTERN_FAVOR_GRID (0)

The pattern instances form a consistent grid, but their size vary considerably, and becomes very small towards the poles.


POLYGON_PATTERN_FAVOR_SIZE (1)

Pattern instances at different latitude can have different scales, breaking the grid, in order to give them more consistent sizes. A reference latitude is used to avoid having a scale break at an inconvenient place.