REVIEWED: Right timing

This commit is contained in:
Ray
2026-02-24 01:26:07 +01:00
parent d4dc038e2e
commit ade81248c3
8 changed files with 10 additions and 10 deletions

View File

@ -667,7 +667,7 @@ MODELS = \
models/models_animation_blend_custom \ models/models_animation_blend_custom \
models/models_animation_blending \ models/models_animation_blending \
models/models_animation_gpu_skinning \ models/models_animation_gpu_skinning \
models/models_animation_timming \ models/models_animation_timing \
models/models_basic_voxel \ models/models_basic_voxel \
models/models_billboard_rendering \ models/models_billboard_rendering \
models/models_bone_socket \ models/models_bone_socket \

View File

@ -645,7 +645,7 @@ MODELS = \
models/models_animation_blend_custom \ models/models_animation_blend_custom \
models/models_animation_blending \ models/models_animation_blending \
models/models_animation_gpu_skinning \ models/models_animation_gpu_skinning \
models/models_animation_timming \ models/models_animation_timing \
models/models_basic_voxel \ models/models_basic_voxel \
models/models_billboard_rendering \ models/models_billboard_rendering \
models/models_bone_socket \ models/models_bone_socket \
@ -1218,7 +1218,7 @@ models/models_animation_gpu_skinning: models/models_animation_gpu_skinning.c
--preload-file models/resources/shaders/glsl100/skinning.vs@resources/shaders/glsl100/skinning.vs \ --preload-file models/resources/shaders/glsl100/skinning.vs@resources/shaders/glsl100/skinning.vs \
--preload-file models/resources/shaders/glsl100/skinning.fs@resources/shaders/glsl100/skinning.fs --preload-file models/resources/shaders/glsl100/skinning.fs@resources/shaders/glsl100/skinning.fs
models/models_animation_timming: models/models_animation_timming.c models/models_animation_timing: models/models_animation_timing.c
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
--preload-file models/resources/models/gltf/robot.glb@resources/models/gltf/robot.glb --preload-file models/resources/models/gltf/robot.glb@resources/models/gltf/robot.glb

View File

@ -199,8 +199,8 @@ int main(void)
} }
// Update progress bars values with current frame for each animation // Update progress bars values with current frame for each animation
float animFrameProgress0 = animCurrentFrame0; animFrameProgress0 = animCurrentFrame0;
float animFrameProgress1 = animCurrentFrame1; animFrameProgress1 = animCurrentFrame1;
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Draw // Draw

View File

@ -1782,7 +1782,7 @@ int InitPlatform(void)
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Initialize timming system // Initialize timing system
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
InitTimer(); InitTimer();
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------

View File

@ -1655,7 +1655,7 @@ int InitPlatform(void)
TRACELOG(LOG_INFO, " > GLSL: %s", "NOT SUPPORTED"); TRACELOG(LOG_INFO, " > GLSL: %s", "NOT SUPPORTED");
} }
// Initialize timming system // Initialize timing system
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
LARGE_INTEGER time = { 0 }; LARGE_INTEGER time = { 0 };
QueryPerformanceCounter(&time); QueryPerformanceCounter(&time);

View File

@ -1613,7 +1613,7 @@ int InitPlatform(void)
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Initialize timing system // Initialize timing system
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// NOTE: timming system must be initialized before the input events system // NOTE: timing system must be initialized before the input events system
InitTimer(); InitTimer();
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------

View File

@ -55,7 +55,7 @@
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Types and Structures Definition // Types and Structures Definition
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Platform-specific required data for timming (Win32) // Platform-specific required data for timing (Win32)
#if defined(_WIN32) #if defined(_WIN32)
typedef struct _LARGE_INTEGER { int64_t QuadPart; } LARGE_INTEGER; typedef struct _LARGE_INTEGER { int64_t QuadPart; } LARGE_INTEGER;
__declspec(dllimport) int __stdcall QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount); __declspec(dllimport) int __stdcall QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount);

View File

@ -1593,7 +1593,7 @@ Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera)
} }
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Module Functions Definition: Timming // Module Functions Definition: Timing
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// NOTE: Functions with a platform-specific implementation on rcore_<platform>.c // NOTE: Functions with a platform-specific implementation on rcore_<platform>.c