Explorar el Código

Tweaks

pull/2194/head
Ray hace 3 años
padre
commit
e7f48eb16b
Se han modificado 2 ficheros con 5 adiciones y 5 borrados
  1. +3
    -3
      src/raymath.h
  2. +2
    -2
      src/rtextures.c

+ 3
- 3
src/raymath.h Ver fichero

@ -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;

+ 2
- 2
src/rtextures.c Ver fichero

@ -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"

Cargando…
Cancelar
Guardar