From c301540ef5e413b48664cfb5b0874946afdcdd11 Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:04:59 +0100 Subject: [PATCH] gltf_loading example shows the name of the current animation now --- examples/models/gltf_loading/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/models/gltf_loading/main.go b/examples/models/gltf_loading/main.go index 26f3120..a829878 100644 --- a/examples/models/gltf_loading/main.go +++ b/examples/models/gltf_loading/main.go @@ -62,7 +62,7 @@ func main() { rl.EndMode3D() - rl.DrawText("current animation number: "+fmt.Sprint(animIndex), 10, 10, 10, rl.Black) + rl.DrawText(fmt.Sprintf("current animation: %s [%d]", animPlaying.GetName(), animIndex), 10, 10, 10, rl.Black) rl.DrawText("UP/DOWN ARROW KEYS CHANGE ANIMATION", 10, 30, 10, rl.Black) rl.EndDrawing()