diff options
| author | Alfred Reinold Baudisch <[email protected]> | 2023-05-07 10:33:14 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-07 10:33:14 +0200 |
| commit | 53b7b26c45867e8b373ae1f9ab302117d3ba047d (patch) | |
| tree | 3f9ca29b2a9deaf557227dd7673f67b29aae8c76 /examples/models | |
| parent | de748dfffefeba1ba9bcf0c90c538d32c9cb2020 (diff) | |
| download | raylib-53b7b26c45867e8b373ae1f9ab302117d3ba047d.tar.gz raylib-53b7b26c45867e8b373ae1f9ab302117d3ba047d.zip | |
Added ModelAnimation.name, initially with GLTF animation names loaded (#3044)
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_loading_gltf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/models/models_loading_gltf.c b/examples/models/models_loading_gltf.c index d8b34efe..d5ebff23 100644 --- a/examples/models/models_loading_gltf.c +++ b/examples/models/models_loading_gltf.c @@ -86,6 +86,7 @@ int main(void) EndMode3D(); DrawText("Use the UP/DOWN arrow keys to switch animation", 10, 10, 20, GRAY); + DrawText(TextFormat("Animation: %s", anim.name), 10, GetScreenHeight() - 20, 10, DARKGRAY); EndDrawing(); //---------------------------------------------------------------------------------- |
