From cf68b7aecfdf20b4ac34ce520a4f787be994a4c7 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Sun, 19 Nov 2023 21:53:28 -0800 Subject: [PATCH] Tried to re-center the pieces but they it is fraught... --- src/display3d.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/display3d.rs b/src/display3d.rs index 9b50102..c9a78b3 100644 --- a/src/display3d.rs +++ b/src/display3d.rs @@ -291,9 +291,9 @@ fn board_translation(&BoardIndex { x, y }: &BoardIndex) -> Vec3 { let y = -(y as i8) + 1; let x = if x < 0 { - x as f32 * 1.3 + 0.325 + x as f32 * 1.3 + 0.275 // 0.325 } else { - x as f32 * 1.3 + 1.0 + x as f32 * 1.3 + 1.05 // 1.0 }; let y = y as f32 * 1.3 + 0.65;