allegroflare / allegro_flare

Application toolkit for Allegro 5
https://clubcatt.com/allegroflare
MIT License
35 stars 6 forks source link

Create vertex-buffer driven object for stamping music symbols #238

Closed MarkOates closed 1 year ago

MarkOates commented 2 years ago

This is just a note dump:

- custom vertex

- glyph
  - custom vertex
    - color
    - vertex has id

- stamps
  - id
  - multimesh_id

- vector<stamp> stamps

- add_stamp()
  - x, y, thing_to_stamp
  - add stamp to stamps
  - create multimesh entry
  - assign multimesh_id to stamp

- remove
  - remove from multimesh
  - get result_id
  - find stamp with multimesh_id
  - reassign multimesh_id to result_id
MarkOates commented 1 year ago

✅ Done - AllegroFlare/MusicMesh/MusicMesh exists. Under the hood is a MultiMesh and stamps.