diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/COMPLETED.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/COMPLETED.md b/doc/COMPLETED.md index dddcc3e..1acf8d1 100644 --- a/doc/COMPLETED.md +++ b/doc/COMPLETED.md @@ -31,6 +31,21 @@ Use `read @doc/archive/FILENAME.md` to access archived documents. ## Recently Completed (February 14, 2026) +- [x] **SDF Shapes Consolidation** + - **Goal**: Consolidate duplicate SDF primitive definitions into single source + - **Changes**: + - Merged `sdf_primitives.wgsl` into `math/sdf_shapes.wgsl` + - Added `sdBox2D()` and `sdEllipse()` to common shapes + - Removed duplicate sdEllipse from ellipse.wgsl shaders (main/test) + - Updated scene1.wgsl to use `math/sdf_shapes` include + - Renamed asset from SHADER_SDF_PRIMITIVES to SHADER_SDF_SHAPES + - **Impact**: + - ~60 lines eliminated from ellipse shaders + - Single source of truth for all SDF primitives (3D: sphere, box, torus, plane; 2D: box, ellipse) + - Consistent include path: `#include "math/sdf_shapes"` + - **Result**: 34/34 tests passing (100%) + - **Related**: Task #50 (WGSL Modularization) + - [x] **Fullscreen Vertex Shader Modularization** - **Goal**: Eliminate duplicate fullscreen triangle vertex shader code - **Changes**: |
