Update rmodels.c
This commit is contained in:
parent
9758be0363
commit
f8b4511ae3
|
|
@ -1930,7 +1930,7 @@ void UpdateModelAnimation(Model model, ModelAnimation anim, int frame)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unload animation array data
|
// Unload animation array data
|
||||||
void UnloadModelAnimations(ModelAnimation* animations, unsigned int count)
|
void UnloadModelAnimations(ModelAnimation *animations, unsigned int count)
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < count; i++) UnloadModelAnimation(animations[i]);
|
for (unsigned int i = 0; i < count; i++) UnloadModelAnimation(animations[i]);
|
||||||
RL_FREE(animations);
|
RL_FREE(animations);
|
||||||
|
|
@ -4301,7 +4301,7 @@ static Model LoadIQM(const char *fileName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load IQM animation data
|
// Load IQM animation data
|
||||||
static ModelAnimation* LoadModelAnimationsIQM(const char *fileName, unsigned int *animCount)
|
static ModelAnimation *LoadModelAnimationsIQM(const char *fileName, unsigned int *animCount)
|
||||||
{
|
{
|
||||||
#define IQM_MAGIC "INTERQUAKEMODEL" // IQM file magic number
|
#define IQM_MAGIC "INTERQUAKEMODEL" // IQM file magic number
|
||||||
#define IQM_VERSION 2 // only IQM version 2 supported
|
#define IQM_VERSION 2 // only IQM version 2 supported
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user