summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-06-17 11:17:39 +0200
committerRay <[email protected]>2021-06-17 11:17:39 +0200
commit68e408474d3a2e469cd8ce88208fffdb3e81dc47 (patch)
tree0d8430c785808578c7546e2021ca9d8bffa4b258 /src/models.c
parent942657fc7c8ea0cbabb15b3f1952c6364ce29c5e (diff)
downloadraylib-68e408474d3a2e469cd8ce88208fffdb3e81dc47.tar.gz
raylib-68e408474d3a2e469cd8ce88208fffdb3e81dc47.zip
Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINT
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models.c b/src/models.c
index f9dec64f..f566780a 100644
--- a/src/models.c
+++ b/src/models.c
@@ -4800,7 +4800,7 @@ static ModelAnimation *LoadGLTFModelAnimations(const char *fileName, int *animCo
// output->framerate = // TODO: Use framerate instead of const timestep
// Name and parent bones
- for (unsigned int j = 0; j < output->boneCount; j++)
+ for (int j = 0; j < output->boneCount; j++)
{
strcpy(output->bones[j].name, data->nodes[j].name == 0 ? "ANIMJOINT" : data->nodes[j].name);
output->bones[j].parent = (data->nodes[j].parent != NULL) ? (int)(data->nodes[j].parent - data->nodes) : -1;
@@ -4812,7 +4812,7 @@ static ModelAnimation *LoadGLTFModelAnimations(const char *fileName, int *animCo
{
output->framePoses[frame] = RL_MALLOC(output->boneCount*sizeof(Transform));
- for (unsigned int i = 0; i < output->boneCount; i++)
+ for (int i = 0; i < output->boneCount; i++)
{
output->framePoses[frame][i].translation = Vector3Zero();
output->framePoses[frame][i].rotation = QuaternionIdentity();