From 0212717783b81a6ef3134b3227222a1cafbb227b Mon Sep 17 00:00:00 2001 From: Nilirad Date: Mon, 9 Dec 2024 17:51:00 +0100 Subject: [PATCH 01/18] Rename `Path` to `Shape` `Path` will be the "driving concept" component for Required Components. The name does not fit well, so I changed it to `Shape`. --- examples/dynamic_shape.rs | 2 +- src/entity.rs | 6 +++--- src/geometry.rs | 8 ++++---- src/lib.rs | 2 +- src/path.rs | 12 ++++++------ src/plugin.rs | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/examples/dynamic_shape.rs b/examples/dynamic_shape.rs index a272f62..2417edd 100644 --- a/examples/dynamic_shape.rs +++ b/examples/dynamic_shape.rs @@ -34,7 +34,7 @@ fn change_draw_mode_system(mut query: Query<(&mut Fill, &mut Stroke)>, time: Res } } -fn change_number_of_sides(mut query: Query<&mut Path>, time: Res