mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-27 05:45:04 +00:00
REVIEWED: Right timing
This commit is contained in:
@@ -667,7 +667,7 @@ MODELS = \
|
||||
models/models_animation_blend_custom \
|
||||
models/models_animation_blending \
|
||||
models/models_animation_gpu_skinning \
|
||||
models/models_animation_timming \
|
||||
models/models_animation_timing \
|
||||
models/models_basic_voxel \
|
||||
models/models_billboard_rendering \
|
||||
models/models_bone_socket \
|
||||
|
||||
@@ -645,7 +645,7 @@ MODELS = \
|
||||
models/models_animation_blend_custom \
|
||||
models/models_animation_blending \
|
||||
models/models_animation_gpu_skinning \
|
||||
models/models_animation_timming \
|
||||
models/models_animation_timing \
|
||||
models/models_basic_voxel \
|
||||
models/models_billboard_rendering \
|
||||
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.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) \
|
||||
--preload-file models/resources/models/gltf/robot.glb@resources/models/gltf/robot.glb
|
||||
|
||||
|
||||
@@ -199,8 +199,8 @@ int main(void)
|
||||
}
|
||||
|
||||
// Update progress bars values with current frame for each animation
|
||||
float animFrameProgress0 = animCurrentFrame0;
|
||||
float animFrameProgress1 = animCurrentFrame1;
|
||||
animFrameProgress0 = animCurrentFrame0;
|
||||
animFrameProgress1 = animCurrentFrame1;
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Draw
|
||||
|
||||
@@ -1782,7 +1782,7 @@ int InitPlatform(void)
|
||||
}
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// Initialize timming system
|
||||
// Initialize timing system
|
||||
//----------------------------------------------------------------------------
|
||||
InitTimer();
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -1655,7 +1655,7 @@ int InitPlatform(void)
|
||||
TRACELOG(LOG_INFO, " > GLSL: %s", "NOT SUPPORTED");
|
||||
}
|
||||
|
||||
// Initialize timming system
|
||||
// Initialize timing system
|
||||
//----------------------------------------------------------------------------
|
||||
LARGE_INTEGER time = { 0 };
|
||||
QueryPerformanceCounter(&time);
|
||||
|
||||
@@ -1613,7 +1613,7 @@ int InitPlatform(void)
|
||||
//----------------------------------------------------------------------------
|
||||
// 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();
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
// Platform-specific required data for timming (Win32)
|
||||
// Platform-specific required data for timing (Win32)
|
||||
#if defined(_WIN32)
|
||||
typedef struct _LARGE_INTEGER { int64_t QuadPart; } LARGE_INTEGER;
|
||||
__declspec(dllimport) int __stdcall QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user