Module veloren_common::terrain::map

source ·

Structs

  • Map connection (per edge).
  • Per-chunk data the map needs to be able to sample in order to correctly render.
  • Base two logarithm of a world size, in chunks, per dimension (each dimension must be a power of 2, so the logarithm is exact).

Enums

  • Connection kind (per edge). Currently just supports rivers, but may be extended to support paths or at least one other kind of connection.

Constants

  • Base two logarithm of the maximum size of the precomputed world, in meters, along the x (E/W) and y (N/S) dimensions.