Coordinates track without having to add several matrices
This commit is contained in:
parent
67e37e2a3d
commit
91a56cb5a4
2 changed files with 2 additions and 1 deletions
2
TODO.MD
2
TODO.MD
|
|
@ -1,10 +1,10 @@
|
||||||
- Centered justification in UI
|
- Centered justification in UI
|
||||||
- Web read/write
|
- Web read/write
|
||||||
- Ship with default setup
|
- Ship with default setup
|
||||||
- Fix -vet errors
|
|
||||||
- Set grid
|
- Set grid
|
||||||
|
|
||||||
DONE:
|
DONE:
|
||||||
|
- Fix -vet errors
|
||||||
- When there is no matrix it should still draw the rectangle
|
- When there is no matrix it should still draw the rectangle
|
||||||
- Always show coordinates
|
- Always show coordinates
|
||||||
- Web build
|
- Web build
|
||||||
|
|
|
||||||
|
|
@ -203,6 +203,7 @@ animation_draw :: proc(animation: ^Animation, global_transform: mat3, mode: Anim
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if animation.matrix_count <= 0 {
|
if animation.matrix_count <= 0 {
|
||||||
|
animation.shapes_animated_last.rectangle = rectangles[0]
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
switch mode {
|
switch mode {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue