Added generation of images based on the map
Tweaks to consistency with DIRECTIONS and HEX_CORNERS Misc debug visualizations
This commit is contained in:
@@ -72,12 +72,12 @@ impl Display for HexCoord {
|
||||
|
||||
impl HexCoord {
|
||||
pub const DIRECTIONS: [IVec3; 6] = [
|
||||
IVec3::new(0, 1, -1),
|
||||
IVec3::new(1, 0, -1),
|
||||
IVec3::new(1, -1, 0),
|
||||
IVec3::new(0, -1, 1),
|
||||
IVec3::new(-1, 0, 1),
|
||||
IVec3::new(1, 0, -1),
|
||||
IVec3::new(0, 1, -1),
|
||||
IVec3::new(-1, 1, 0),
|
||||
IVec3::new(-1, 0, 1),
|
||||
IVec3::new(0, -1, 1),
|
||||
];
|
||||
|
||||
pub const ZERO: HexCoord = HexCoord { hex: IVec3::ZERO };
|
||||
|
||||
Reference in New Issue
Block a user