From 040b945fefc341a8f17ab34cdc8fa2a8be6fac96 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 8 Nov 2023 20:09:32 +0100 Subject: Reviewed some examples and warnings --- examples/models/models_animation.c | 2 +- examples/models/models_loading_gltf.c | 2 +- examples/models/models_loading_m3d.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/models') 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 -- cgit v1.2.3