Ver código fonte

fix(examples): tell user how to run example

pull/5483/head
Max 👨🏽‍💻 Coplan 1 mês atrás
pai
commit
fb560b7728
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      examples/models/models_animation_playing.c

+ 4
- 0
examples/models/models_animation_playing.c Ver arquivo

@ -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

Carregando…
Cancelar
Salvar