feat(ui): allow placing machines directly next to each other

This commit is contained in:
Brian McGee
2025-08-26 11:02:58 +01:00
parent 084b8bacd3
commit 2ff3d871ac
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ function keyFromPos(pos: [number, number]): string {
return `${pos[0]},${pos[1]}`; return `${pos[0]},${pos[1]}`;
} }
const CUBE_SPACING = 2; const CUBE_SPACING = 1;
export class MachineManager { export class MachineManager {
public machines = new Map<string, MachineRepr>(); public machines = new Map<string, MachineRepr>();

View File

@@ -74,7 +74,7 @@ export function CubeScene(props: {
}); });
// Grid configuration // Grid configuration
const GRID_SIZE = 2; const GRID_SIZE = 1;
const BASE_SIZE = 0.9; // Height of the cube above the ground const BASE_SIZE = 0.9; // Height of the cube above the ground
const CUBE_SIZE = BASE_SIZE / 1.5; // const CUBE_SIZE = BASE_SIZE / 1.5; //