feat(ui): allow placing machines directly next to each other
This commit is contained in:
@@ -10,7 +10,7 @@ function keyFromPos(pos: [number, number]): string {
|
||||
return `${pos[0]},${pos[1]}`;
|
||||
}
|
||||
|
||||
const CUBE_SPACING = 2;
|
||||
const CUBE_SPACING = 1;
|
||||
|
||||
export class MachineManager {
|
||||
public machines = new Map<string, MachineRepr>();
|
||||
|
||||
@@ -74,7 +74,7 @@ export function CubeScene(props: {
|
||||
});
|
||||
|
||||
// Grid configuration
|
||||
const GRID_SIZE = 2;
|
||||
const GRID_SIZE = 1;
|
||||
|
||||
const BASE_SIZE = 0.9; // Height of the cube above the ground
|
||||
const CUBE_SIZE = BASE_SIZE / 1.5; //
|
||||
|
||||
Reference in New Issue
Block a user