diff options
| author | Ray <[email protected]> | 2021-12-06 19:08:06 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-12-06 19:08:06 +0100 |
| commit | e7f48eb16be5fb29e5d639150edc137564f54f59 (patch) | |
| tree | b3d784d109c677e13af045d286772e9ba4524b55 /src | |
| parent | 3cb4ef25990d88cf5c9170cf5c571f5968204be9 (diff) | |
| download | raylib-e7f48eb16be5fb29e5d639150edc137564f54f59.tar.gz raylib-e7f48eb16be5fb29e5d639150edc137564f54f59.zip | |
Tweaks
Diffstat (limited to 'src')
| -rw-r--r-- | src/raymath.h | 6 | ||||
| -rw-r--r-- | src/rtextures.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/raymath.h b/src/raymath.h index 898e48ae..624116d4 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -328,9 +328,9 @@ RMAPI Vector2 Vector2Normalize(Vector2 v) if (length > 0) { - float ilength = 1.0f / length; - result.x = v.x * ilength; - result.y = v.y * ilength; + float ilength = 1.0f/length; + result.x = v.x*ilength; + result.y = v.y*ilength; } return result; diff --git a/src/rtextures.c b/src/rtextures.c index cad3545c..e5c3c100 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -131,8 +131,8 @@ #endif #if defined(SUPPORT_FILEFORMAT_QOI) - #define QOI_MALLOC RL_MALLOC - #define QOI_FREE RL_FREE + #define QOI_MALLOC RL_MALLOC + #define QOI_FREE RL_FREE #define QOI_IMPLEMENTATION #include "external/qoi.h" |
