From 6462935b3221836dc9d5b53ef45982f6a3763c0e Mon Sep 17 00:00:00 2001 From: Greeble <166992735+greeble-dev@users.noreply.github.com> Date: Wed, 8 Jan 2025 18:59:17 +0000 Subject: [PATCH] Rename animated fox examples to better communicate their purpose (#17239) Fixes #17192. Replaces "animated_fox" with "animated_mesh". I considered a few different names - should it say "skinned_mesh" to be precise? Should it mention gltf? But "animated_mesh" seems intuitive and keeps it short. ## Testing - Ran all three examples (Windows 10). --- Cargo.toml | 24 +++++++++---------- examples/README.md | 6 ++--- .../{animated_fox.rs => animated_mesh.rs} | 0 ...ox_control.rs => animated_mesh_control.rs} | 0 ..._fox_events.rs => animated_mesh_events.rs} | 0 5 files changed, 15 insertions(+), 15 deletions(-) rename examples/animation/{animated_fox.rs => animated_mesh.rs} (100%) rename examples/animation/{animated_fox_control.rs => animated_mesh_control.rs} (100%) rename examples/animation/{animated_fox_events.rs => animated_mesh_events.rs} (100%) diff --git a/Cargo.toml b/Cargo.toml index 639f90337ba41..28dda7a33dccb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1281,34 +1281,34 @@ category = "Animation" wasm = true [[example]] -name = "animated_fox" -path = "examples/animation/animated_fox.rs" +name = "animated_mesh" +path = "examples/animation/animated_mesh.rs" doc-scrape-examples = true -[package.metadata.example.animated_fox] -name = "Animated Fox" +[package.metadata.example.animated_mesh] +name = "Animated Mesh" description = "Plays an animation from a skinned glTF" category = "Animation" wasm = true [[example]] -name = "animated_fox_control" -path = "examples/animation/animated_fox_control.rs" +name = "animated_mesh_control" +path = "examples/animation/animated_mesh_control.rs" doc-scrape-examples = true -[package.metadata.example.animated_fox_control] -name = "Animated Fox Control" +[package.metadata.example.animated_mesh_control] +name = "Animated Mesh Control" description = "Plays an animation from a skinned glTF with keyboard controls" category = "Animation" wasm = true [[example]] -name = "animated_fox_events" -path = "examples/animation/animated_fox_events.rs" +name = "animated_mesh_events" +path = "examples/animation/animated_mesh_events.rs" doc-scrape-examples = true -[package.metadata.example.animated_fox_events] -name = "Animated Fox Events" +[package.metadata.example.animated_mesh_events] +name = "Animated Mesh Events" description = "Plays an animation from a skinned glTF with events" category = "Animation" wasm = true diff --git a/examples/README.md b/examples/README.md index 69c1d470d7dd6..49a90a422423f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -194,9 +194,9 @@ Example | Description Example | Description --- | --- -[Animated Fox](../examples/animation/animated_fox.rs) | Plays an animation from a skinned glTF -[Animated Fox Control](../examples/animation/animated_fox_control.rs) | Plays an animation from a skinned glTF with keyboard controls -[Animated Fox Events](../examples/animation/animated_fox_events.rs) | Plays an animation from a skinned glTF with events +[Animated Mesh](../examples/animation/animated_mesh.rs) | Plays an animation from a skinned glTF +[Animated Mesh Control](../examples/animation/animated_mesh_control.rs) | Plays an animation from a skinned glTF with keyboard controls +[Animated Mesh Events](../examples/animation/animated_mesh_events.rs) | Plays an animation from a skinned glTF with events [Animated Transform](../examples/animation/animated_transform.rs) | Create and play an animation defined by code that operates on the `Transform` component [Animated UI](../examples/animation/animated_ui.rs) | Shows how to use animation clips to animate UI properties [Animation Events](../examples/animation/animation_events.rs) | Demonstrate how to use animation events diff --git a/examples/animation/animated_fox.rs b/examples/animation/animated_mesh.rs similarity index 100% rename from examples/animation/animated_fox.rs rename to examples/animation/animated_mesh.rs diff --git a/examples/animation/animated_fox_control.rs b/examples/animation/animated_mesh_control.rs similarity index 100% rename from examples/animation/animated_fox_control.rs rename to examples/animation/animated_mesh_control.rs diff --git a/examples/animation/animated_fox_events.rs b/examples/animation/animated_mesh_events.rs similarity index 100% rename from examples/animation/animated_fox_events.rs rename to examples/animation/animated_mesh_events.rs