From e7f48eb16be5fb29e5d639150edc137564f54f59 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 6 Dec 2021 19:08:06 +0100 Subject: [PATCH] Tweaks --- src/raymath.h | 6 +++--- src/rtextures.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/raymath.h b/src/raymath.h index 898e48aed..624116d46 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 cad3545cf..e5c3c100d 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"