Tweaks
This commit is contained in:
parent
3cb4ef2599
commit
e7f48eb16b
2 changed files with 5 additions and 5 deletions
|
@ -328,9 +328,9 @@ RMAPI Vector2 Vector2Normalize(Vector2 v)
|
||||||
|
|
||||||
if (length > 0)
|
if (length > 0)
|
||||||
{
|
{
|
||||||
float ilength = 1.0f / length;
|
float ilength = 1.0f/length;
|
||||||
result.x = v.x * ilength;
|
result.x = v.x*ilength;
|
||||||
result.y = v.y * ilength;
|
result.y = v.y*ilength;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -131,8 +131,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SUPPORT_FILEFORMAT_QOI)
|
#if defined(SUPPORT_FILEFORMAT_QOI)
|
||||||
#define QOI_MALLOC RL_MALLOC
|
#define QOI_MALLOC RL_MALLOC
|
||||||
#define QOI_FREE RL_FREE
|
#define QOI_FREE RL_FREE
|
||||||
|
|
||||||
#define QOI_IMPLEMENTATION
|
#define QOI_IMPLEMENTATION
|
||||||
#include "external/qoi.h"
|
#include "external/qoi.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue