diff options
| author | Antonis Geralis <[email protected]> | 2022-02-17 01:54:21 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-17 00:54:21 +0100 |
| commit | 963de06d08f28784e03b6cfa994d545f9e0ef8b5 (patch) | |
| tree | 25eba8b9c3b18c757481250bf491ab18d40ccf62 /src | |
| parent | 4f2bfc54760cbcbf142417b0bb24ddebf9ee4221 (diff) | |
| download | raylib-963de06d08f28784e03b6cfa994d545f9e0ef8b5.tar.gz raylib-963de06d08f28784e03b6cfa994d545f9e0ef8b5.zip | |
follow style guide (#2346)
* follow style guide
* Update rmodels.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/raylib.h | 2 | ||||
| -rw-r--r-- | src/rmodels.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h index 31565891..9f4e7caa 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1456,7 +1456,7 @@ RLAPI void SetModelMeshMaterial(Model *model, int meshId, int materialId); RLAPI ModelAnimation *LoadModelAnimations(const char *fileName, unsigned int *animCount); // Load model animations from file RLAPI void UpdateModelAnimation(Model model, ModelAnimation anim, int frame); // Update model animation pose RLAPI void UnloadModelAnimation(ModelAnimation anim); // Unload animation data -RLAPI void UnloadModelAnimations(ModelAnimation* animations, unsigned int count); // Unload animation array data +RLAPI void UnloadModelAnimations(ModelAnimation *animations, unsigned int count); // Unload animation array data RLAPI bool IsModelAnimationValid(Model model, ModelAnimation anim); // Check model animation skeleton match // Collision detection functions diff --git a/src/rmodels.c b/src/rmodels.c index 601ce234..c15c4c07 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -1930,7 +1930,7 @@ void UpdateModelAnimation(Model model, ModelAnimation anim, int frame) } // 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]); RL_FREE(animations); @@ -4301,7 +4301,7 @@ static Model LoadIQM(const char *fileName) } // 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_VERSION 2 // only IQM version 2 supported |
