From b6237a6b7e6aabed6358be9dceee082974ac1553 Mon Sep 17 00:00:00 2001 From: Huon Imberger Date: Sat, 24 Feb 2024 20:31:06 +1100 Subject: [PATCH] Simplify follow example --- examples/follow_target.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/follow_target.rs b/examples/follow_target.rs index 2e83d73..202fe06 100644 --- a/examples/follow_target.rs +++ b/examples/follow_target.rs @@ -64,20 +64,17 @@ fn setup( )); } -#[derive(Default)] -struct AnimateAngle(f32); - /// Move the cube in a circle around the Y axis fn animate_cube( time: Res