diff options
| author | Ray <[email protected]> | 2021-06-17 12:26:33 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-06-17 12:26:33 +0200 |
| commit | b733e76c869afcaee1e2f716bfd99b8b10ef507c (patch) | |
| tree | 059cf9bd63faed88bcd369e70e02803ebd9836ef /src | |
| parent | 19b71f5f13ee6e343836732a80f56d241e6f1659 (diff) | |
| download | raylib-b733e76c869afcaee1e2f716bfd99b8b10ef507c.tar.gz raylib-b733e76c869afcaee1e2f716bfd99b8b10ef507c.zip | |
Update physac.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/extras/physac.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/physac.h b/src/extras/physac.h index 676a9695..834290bc 100644 --- a/src/extras/physac.h +++ b/src/extras/physac.h @@ -318,7 +318,7 @@ static unsigned int usedMemory = 0; // Total allocated d //---------------------------------------------------------------------------------- #if !defined(PHYSAC_AVOID_TIMMING_SYSTEM) // Timming measure functions -static void InitTimer(void); // Initializes hi-resolution MONOTONIC timer +static void InitTimerHiRes(void); // Initializes hi-resolution MONOTONIC timer static unsigned long long int GetClockTicks(void); // Get hi-res MONOTONIC time measure in mseconds static double GetCurrentTime(void); // Get current time measure in milliseconds #endif @@ -370,7 +370,7 @@ PHYSACDEF void InitPhysics(void) { #if !defined(PHYSAC_AVOID_TIMMING_SYSTEM) // Initialize high resolution timer - InitTimer(); + InitTimerHiRes(); #endif TRACELOG("[PHYSAC] Physics module initialized successfully\n"); @@ -1848,7 +1848,7 @@ static Vector2 MathTriangleBarycenter(Vector2 v1, Vector2 v2, Vector2 v3) #if !defined(PHYSAC_AVOID_TIMMING_SYSTEM) // Initializes hi-resolution MONOTONIC timer -static void InitTimer(void) +static void InitTimerHiRes(void) { #if defined(_WIN32) QueryPerformanceFrequency((unsigned long long int *) &frequency); |
