Преглед на файлове

fix(examples): tell user how to run example

pull/5483/head
Max 👨🏽‍💻 Coplan преди 1 месец
родител
ревизия
fb560b7728
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. +4
    -0
      examples/models/models_animation_playing.c

+ 4
- 0
examples/models/models_animation_playing.c Целия файл

@ -52,6 +52,10 @@ int main(void)
// Load animation data
int animsCount = 0;
ModelAnimation *anims = LoadModelAnimations("resources/models/iqm/guyanim.iqm", &animsCount);
if (anims==0) {
TraceLog(LOG_ERROR, "Failed to load animations. You must run this example from the `examples/models` folder");
return -1;
}
int animFrameCounter = 0;
DisableCursor(); // Catch cursor

Зареждане…
Отказ
Запис