Преглед изворни кода

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

Loading…
Откажи
Сачувај