create a svg log instead of caching the commands where they do not

belong...
This commit is contained in:
2026-05-21 21:28:14 +02:00
parent 156301f272
commit ece26bfe04
6 changed files with 297 additions and 281 deletions
+1 -2
View File
@@ -33,7 +33,7 @@ pub(crate) fn render_world_with_tweens(world: &TurtleWorld, zoom_level: f32) {
for turtle in &world.turtles {
for cmd in &turtle.commands {
match cmd {
DrawCommand::Mesh { data, source: _ } => {
DrawCommand::Mesh { data } => {
draw_mesh(&data.to_mesh());
}
DrawCommand::Text {
@@ -42,7 +42,6 @@ pub(crate) fn render_world_with_tweens(world: &TurtleWorld, zoom_level: f32) {
heading,
font_size,
color,
source: _,
} => {
draw_text_command(text, *position, *heading, *font_size, *color);
}