summaryrefslogtreecommitdiff
path: root/third_party/wgpu-native
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 13:00:07 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 13:00:07 +0100
commit7db9f9068fa8c247bb42bae7642eae86a701740f (patch)
tree3c51290dd975cef21e11a3f67bac2ecc88f47d0e /third_party/wgpu-native
parent4607beb85c2fbff9da940af0611b91b8b7ae0a41 (diff)
feat(editor): Implement SDFs for drawing primitives and fix spectrogram clearing
Refactored drawing primitives in the spectrogram editor to use Signed Distance Functions (SDFs), providing smoother and more flexible shape generation. - : Now stores shape parameters in SDF-friendly world coordinates (frame and log-scaled frequency) and includes a parameter for each shape. - : Completely rewritten to utilize SDFs (, , ) for applying shape effects to the spectrogram data, including attenuation with . - Fixed an issue where the generated spectrogram was not being cleared to zero, ensuring a blank canvas for new drawings.
Diffstat (limited to 'third_party/wgpu-native')
0 files changed, 0 insertions, 0 deletions