New grids offset to window center

This commit is contained in:
Yousef Khadadeh 2025-09-17 17:17:43 +03:00
parent 12ef3b0416
commit e16b0f1081
6 changed files with 32 additions and 9 deletions

View file

@ -25,6 +25,8 @@ class WorldGrid {
uint32_t get_subdivisions();
Vector4f color{1.0f, 1.0f, 1.0f, 1.0f};
static unsigned GRID_UNIT_PIXEL_SIZE;
private:
bool removeDivisionsOutwards = false;
uint32_t subdivisions = 1;