diff options
| author | Ray <[email protected]> | 2023-11-08 20:09:32 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-11-08 20:09:32 +0100 |
| commit | 040b945fefc341a8f17ab34cdc8fa2a8be6fac96 (patch) | |
| tree | 8e289ca2c0a3d80a27e670fe7aec23c2f0975e69 /examples/models | |
| parent | bee6d7f065e8e4fcff5eeaa075d878e45fed24f5 (diff) | |
| download | raylib-040b945fefc341a8f17ab34cdc8fa2a8be6fac96.tar.gz raylib-040b945fefc341a8f17ab34cdc8fa2a8be6fac96.zip | |
Reviewed some examples and warnings
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_animation.c | 2 | ||||
| -rw-r--r-- | examples/models/models_loading_gltf.c | 2 | ||||
| -rw-r--r-- | examples/models/models_loading_m3d.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/models/models_animation.c b/examples/models/models_animation.c index ffe2d012..8e6f7f87 100644 --- a/examples/models/models_animation.c +++ b/examples/models/models_animation.c @@ -48,7 +48,7 @@ int main(void) Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position // Load animation data - unsigned int animsCount = 0; + int animsCount = 0; ModelAnimation *anims = LoadModelAnimations("resources/models/iqm/guyanim.iqm", &animsCount); int animFrameCounter = 0; diff --git a/examples/models/models_loading_gltf.c b/examples/models/models_loading_gltf.c index 28847316..1d5d516f 100644 --- a/examples/models/models_loading_gltf.c +++ b/examples/models/models_loading_gltf.c @@ -44,7 +44,7 @@ int main(void) Model model = LoadModel("resources/models/gltf/robot.glb"); // Load gltf model animations - unsigned int animsCount = 0; + int animsCount = 0; unsigned int animIndex = 0; unsigned int animCurrentFrame = 0; ModelAnimation *modelAnimations = LoadModelAnimations("resources/models/gltf/robot.glb", &animsCount); diff --git a/examples/models/models_loading_m3d.c b/examples/models/models_loading_m3d.c index dd164957..71dbc8d7 100644 --- a/examples/models/models_loading_m3d.c +++ b/examples/models/models_loading_m3d.c @@ -50,7 +50,7 @@ int main(void) Model model = LoadModel(modelFileName); // Load the bind-pose model mesh and basic data // Load animations - unsigned int animsCount = 0; + int animsCount = 0; int animFrameCounter = 0, animId = 0; ModelAnimation *anims = LoadModelAnimations(modelFileName, &animsCount); // Load skeletal animation data |
