From 70e3eea4d1faac1243043ab6b52275f1b1acc683 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 12 Mar 2026 20:17:17 +0100 Subject: [PATCH] feat: Introduce TextureAtlasLayer for efficient texture management and rendering refactor: Streamline WebGL2LayerClass methods and remove unused code refactor: Consolidate relief icon rendering logic and remove benchmarks --- .github/copilot-instructions.md | 9 +- _bmad-output/project-context.md | 26 +++ public/main.js | 2 +- src/modules/texture-atlas-layer.ts | 168 +++++++++++++++++++ src/modules/webgl-layer.ts | 74 +++------ src/renderers/draw-relief-icons.bench.ts | 76 --------- src/renderers/draw-relief-icons.ts | 203 +++-------------------- src/types/global.ts | 5 - 8 files changed, 251 insertions(+), 312 deletions(-) create mode 100644 src/modules/texture-atlas-layer.ts delete mode 100644 src/renderers/draw-relief-icons.bench.ts diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 7f69fa76..1d699cda 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -63,7 +63,7 @@ Type `/bmad-` in Copilot Chat to see all available BMAD workflows and agent acti `public/main.js` and all `public/modules/**/*.js` files are **plain `