docs.rs failed to build hex2d-0.0.12
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
hex2d-1.1.0
hex2d
Introduction
Library for working with 2d hex map systems.
A lot of ideas taken from redbloggames hexagon page
Read Documentation for details.
See issues for TODO and BUGs.
You might be interested in additional functionality provided by hex2d-dpcext-rs library.
Coordinate system
Pointy-topped:
/\
/ \
| |
| |
\ /
\/
-z
+y YZ | XZ +x
--- | ---
--- | ---
--- | ---
YX -x- XY
--- | ---
--- | ---
--- ZX | ZY ---
-x | -y
+z
Flat-topped:
____
/ \
/ \
\ /
\____/
+y -z
\ /
\ YZ /
YX \ / XZ
\ /
-x--------x--------+x
/ \
ZX / \ XY
/ ZY \
/ \
+z -y
Building
cargo build