raylib/src
Ryan Roden-Corrent 9607ea5c0a
Use unsigned int for animation count. (#2002)
LoadModelAnimations takes an `int` for the animation count parameter.
The animation count should never be negative, so it makes sense to
specify it as unsigned in the API. This matches the API for
UnloadModelAnimations, which expects an unsigned int. Both GLTF and IQMM
also store the animation count internally as unsigned, and we were
casting to a signed int for no reason.

GLTF actually uses `size_t` internally, so we're technically risking
overflow, but having 2^32 animations seems unlikely.
2021-09-22 13:04:10 +02:00
..
external Fix mappings.h issue from glfw update (#1995) 2021-09-19 20:33:18 +02:00
extras Prevent INVALID_SOCKET to be defined twice on linux (#1993) 2021-09-17 01:05:38 +02:00
CMakeLists.txt WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
config.h WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
Makefile Update Makefile 2021-09-22 11:13:10 +02:00
raudio.c Minor reviews 2021-09-21 23:49:42 +02:00
raudio.h WARNING: BREAKING: Use frameCount on audio 2021-08-16 11:06:31 +02:00
raylib.dll.rc Update resource files 2021-04-09 00:20:43 +02:00
raylib.dll.rc.data Update resource files 2021-04-09 00:20:43 +02:00
raylib.h Use unsigned int for animation count. (#2002) 2021-09-22 13:04:10 +02:00
raylib.ico Updated icon data 2018-09-26 16:02:42 +02:00
raylib.rc Update resource files 2021-04-09 00:20:43 +02:00
raylib.rc.data Update resource files 2021-04-09 00:20:43 +02:00
raymath.h Tweaks 2021-09-21 15:31:26 +02:00
rcamera.h WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
rcore.c WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
rgestures.h WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
rglfw.c Update year to 2021 2021-01-02 18:15:13 +01:00
rlgl.h REVIEWED: Naming: length vs size 2021-09-01 23:40:51 +02:00
rmodels.c Use unsigned int for animation count. (#2002) 2021-09-22 13:04:10 +02:00
rshapes.c WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
rtext.c WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
rtextures.c WARNING: MODULES RENAMING!!! 2021-09-22 00:15:06 +02:00
shell.html Update shell.html 2021-09-03 15:24:05 +02:00
utils.c REVERTED: Removed the need for rlMatrix 2021-07-30 12:54:54 +02:00
utils.h REVIEWED: extern "C" definition position for consistency 2021-08-15 13:02:53 +02:00