浏览代码

[rmodels] Fixed typos in anmation blending example

Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com>
pull/4578/head
Kirandeep-Singh-Khehra 1周前
父节点
当前提交
438318e7ee
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. +1
    -1
      examples/README.md
  2. +3
    -3
      examples/models/models_animation_blending.c
  3. 二进制
      examples/models/models_animation_blending.png

+ 1
- 1
examples/README.md 查看文件

@ -137,7 +137,7 @@ Examples using raylib models functionality, including models loading/generation
| ## | example | image | difficulty<br>level | version<br>created | last version<br>updated | original<br>developer |
|----|----------|--------|:-------------------:|:------------------:|:------------------:|:----------|
| 85 | [models_animation](models/models_animation.c) | <img src="models/models_animation.png" alt="models_animation" width="80"> | ⭐️⭐️☆☆ | 2.5 | 3.5 | [culacant](https://github.com/culacant) |
| 86 | [models_animation_blending](models/models_animation_blending.c) | <img src="models/models_animation_blending.png" alt="models_animation" width="80"> | ⭐️⭐️☆☆ | 2.5 | 3.5 | [Kirandeep-Singh-Khehra](https://github.com/Kirandeep-Singh-Khehra) |
| 86 | [models_animation_blending](models/models_animation_blending.c) | <img src="models/models_animation_blending.png" alt="models_animation_blending" width="80"> | ⭐️⭐️☆☆ | 2.5 | 3.5 | [Kirandeep-Singh-Khehra](https://github.com/Kirandeep-Singh-Khehra) |
| 87 | [models_billboard](models/models_billboard.c) | <img src="models/models_billboard.png" alt="models_billboard" width="80"> | ⭐️⭐️⭐️☆ | 1.3 | 3.5 | [Ray](https://github.com/raysan5) |
| 88 | [models_box_collisions](models/models_box_collisions.c) | <img src="models/models_box_collisions.png" alt="models_box_collisions" width="80"> | ⭐️☆☆☆ | 1.3 | 3.5 | [Ray](https://github.com/raysan5) |
| 89 | [models_cubicmap](models/models_cubicmap.c) | <img src="models/models_cubicmap.png" alt="models_cubicmap" width="80"> | ⭐️⭐️☆☆ | 1.8 | 3.5 | [Ray](https://github.com/raysan5) |

+ 3
- 3
examples/models/models_animation_blending.c 查看文件

@ -115,9 +115,9 @@ int main(void)
EndMode3D();
DrawText("Use the U/J Arrow to adjust blend factor", 10, 10, 20, GRAY);
DrawText("Use the T/G to switch animation", 10, 30, 20, GRAY);
DrawText("Use the Y/H to switch animation", 10, 50, 20, GRAY);
DrawText("Use the U/J to adjust blend factor", 10, 10, 20, GRAY);
DrawText("Use the T/G to switch first animation", 10, 30, 20, GRAY);
DrawText("Use the Y/H to switch second animation", 10, 50, 20, GRAY);
DrawText(TextFormat("Animations: %s, %s", modelAnimations[animIndex0].name, modelAnimations[animIndex1].name), 10, 70, 20, BLACK);
DrawText(TextFormat("Blend Factor: %f", blendFactor), 10, 86, 20, BLACK);

二进制
examples/models/models_animation_blending.png 查看文件

之前 之后
宽度: 800  |  高度: 450  |  大小: 24 KiB 宽度: 800  |  高度: 450  |  大小: 26 KiB

正在加载...
取消
保存