Skip to content

Commit

Permalink
Rename animated fox examples to better communicate their purpose (#17239
Browse files Browse the repository at this point in the history
)

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).
  • Loading branch information
greeble-dev authored Jan 8, 2025
1 parent e896c36 commit 6462935
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6462935

Please sign in to comment.