소스 검색

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

불러오는 중...
취소
저장