ashscript_types/constants/
map.rs

1use glam::Vec2;
2use hexx::{HexLayout, HexOrientation};
3
4/// allows for a rectangle with 2 025 000 000 tiles
5pub const MAX_WIDTH_HEIGHT: i32 = 45000;
6
7pub const HEX_SIZE: Vec2 = Vec2::splat(64.0);
8pub const CHUNK_SIZE: u32 = 5;
9pub const HEX_LAYOUT: HexLayout = HexLayout {
10    hex_size: HEX_SIZE,
11    orientation: HexOrientation::Flat,
12    origin: Vec2::new(0., 0.),
13    invert_x: false,
14    invert_y: false,
15};