1
0
forked from noxious/client
This commit is contained in:
Dennis Postma 2025-02-15 17:42:01 +01:00
parent 337446497b
commit d843b954ab

View File

@ -62,7 +62,7 @@ export function createTileArray(width: number, height: number, tile: string = 'b
return Array.from({ length: height }, () => Array.from({ length: width }, () => tile)) return Array.from({ length: height }, () => Array.from({ length: width }, () => tile))
} }
export const calculateIsometricDepth = (positionX: number, positionY, pivotPoints: { x: number; y: number; }[] = []) => { export const calculateIsometricDepth = (positionX: number, positionY: number, pivotPoints: { x: number; y: number; }[] = []) => {
return Math.max(positionX + positionY); return Math.max(positionX + positionY);
} }