|
|
@ -959,7 +959,6 @@ VkResult update_hex_info_ui(ClientContext* context) {
|
|
|
|
int32_t hex_r = hex_starts_qr[side][1]*radius + hex_directions_qr[side][1]*(ring-(radius*side));
|
|
|
|
int32_t hex_r = hex_starts_qr[side][1]*radius + hex_directions_qr[side][1]*(ring-(radius*side));
|
|
|
|
|
|
|
|
|
|
|
|
int32_t region_q = region->data.q*((REGION_SIZE-1)*2 + 1) + region->data.r*(REGION_SIZE-1);
|
|
|
|
int32_t region_q = region->data.q*((REGION_SIZE-1)*2 + 1) + region->data.r*(REGION_SIZE-1);
|
|
|
|
|
|
|
|
|
|
|
|
int32_t region_r = region->data.q*((REGION_SIZE-1) + 0.5) + region->data.r*((REGION_SIZE-1)*2+1);
|
|
|
|
int32_t region_r = region->data.q*((REGION_SIZE-1) + 0.5) + region->data.r*((REGION_SIZE-1)*2+1);
|
|
|
|
|
|
|
|
|
|
|
|
int32_t world_q = hex_q + region_q;
|
|
|
|
int32_t world_q = hex_q + region_q;
|
|
|
|