fix(examples): tell user how to run example

This commit is contained in:
Max 👨🏽‍💻 Coplan 2026-01-09 15:27:41 -08:00
parent 5b0a799769
commit fb560b7728

View File

@ -52,6 +52,10 @@ int main(void)
// Load animation data // Load animation data
int animsCount = 0; int animsCount = 0;
ModelAnimation *anims = LoadModelAnimations("resources/models/iqm/guyanim.iqm", &animsCount); 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; int animFrameCounter = 0;
DisableCursor(); // Catch cursor DisableCursor(); // Catch cursor