pub const LATTICE_STEPS: [(i32, i32); 6];Expand description
The six primitive Eisenstein lattice vectors in (a, b) coordinates.
These are the unit steps in the Eisenstein integer lattice:
| Index | Vector | Description |
|---|---|---|
| 0 | +1 | a += 1 |
| 1 | -1 + ω | a -= 1, b += 1 |
| 2 | -ω | b -= 1 |
| 3 | -1 | a -= 1 |
| 4 | 1 - ω | a += 1, b -= 1 |
| 5 | +ω | b += 1 |