mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-04 00:46:27 +00:00
Tweaks
This commit is contained in:
@@ -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;
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user