Coordinates track without having to add several matrices

This commit is contained in:
Synthasmagoria 2026-09-15 15:21:31 +02:00
commit 91a56cb5a4
2 changed files with 2 additions and 1 deletions

View file

@ -1,10 +1,10 @@
- Centered justification in UI
- Web read/write
- Ship with default setup
- Fix -vet errors
- Set grid
DONE:
- Fix -vet errors
- When there is no matrix it should still draw the rectangle
- Always show coordinates
- Web build

View file

@ -203,6 +203,7 @@ animation_draw :: proc(animation: ^Animation, global_transform: mat3, mode: Anim
}
}
if animation.matrix_count <= 0 {
animation.shapes_animated_last.rectangle = rectangles[0]
break
}
switch mode {