diff options
| author | Ray <[email protected]> | 2024-04-02 09:38:06 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-04-02 09:38:06 +0200 |
| commit | 646d70e93a5a049cb9f603c3b94ee1ba98c9161e (patch) | |
| tree | 9f428f78eb77548156a8bc0348a9efb02cb7b9ef /src/rmodels.c | |
| parent | 1b047995d1046a869fb0f1e8ecf430573e0207e9 (diff) | |
| download | raylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.tar.gz raylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.zip | |
Remove trailing spaces
Diffstat (limited to 'src/rmodels.c')
| -rw-r--r-- | src/rmodels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rmodels.c b/src/rmodels.c index d94754f1..77bb19aa 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -5804,7 +5804,7 @@ static Model LoadM3D(const char *fileName) // If no map is provided, or we have colors defined, we allocate storage for vertex colors // M3D specs only consider vertex colors if no material is provided, however raylib uses both and mixes the colors if ((mi == M3D_UNDEF) || vcolor) model.meshes[k].colors = RL_CALLOC(model.meshes[k].vertexCount*4, sizeof(unsigned char)); - + // If no map is provided and we allocated vertex colors, set them to white if ((mi == M3D_UNDEF) && (model.meshes[k].colors != NULL)) { @@ -6076,7 +6076,7 @@ static ModelAnimation *LoadModelAnimationsM3D(const char *fileName, int *animCou animations[a].framePoses = RL_MALLOC(animations[a].frameCount*sizeof(Transform *)); strncpy(animations[a].name, m3d->action[a].name, sizeof(animations[a].name)); animations[a].name[sizeof(animations[a].name) - 1] = '\0'; - + TRACELOG(LOG_INFO, "MODEL: [%s] animation #%i: %i msec, %i frames", fileName, a, m3d->action[a].durationmsec, animations[a].frameCount); for (i = 0; i < (int)m3d->numbone; i++) |
