diff options
| author | raysan5 <[email protected]> | 2021-04-01 21:22:18 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-04-01 21:22:18 +0200 |
| commit | b54d96205f039560af4800be2448ea7b8d98818c (patch) | |
| tree | 87dc0072acf399f5eb7fcce955d6ee18d06fd2be | |
| parent | 1da0176cad7b935f5139ee9e059303fc67a3243b (diff) | |
| download | raylib-b54d96205f039560af4800be2448ea7b8d98818c.tar.gz raylib-b54d96205f039560af4800be2448ea7b8d98818c.zip | |
Review libc dependency
| -rw-r--r-- | src/core.c | 2 | ||||
| -rw-r--r-- | src/rlgl.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -165,7 +165,7 @@ #include <stdio.h> // Required for: sprintf() [Used in OpenURL()] #include <string.h> // Required for: strrchr(), strcmp(), strlen() #include <time.h> // Required for: time() [Used in InitTimer()] -#include <math.h> // Required for: tan() [Used in BeginMode3D()] +#include <math.h> // Required for: tan() [Used in BeginMode3D()], atan2f() [Used in InitVrSimulator()] #include <sys/stat.h> // Required for: stat() [Used in GetFileModTime()] @@ -682,7 +682,6 @@ RLAPI Texture2D rlGenTextureBRDF(Shader shader, int size); // Gener #include <stdlib.h> // Required for: malloc(), free() #include <string.h> // Required for: strcmp(), strlen() [Used in rlglInit(), on extensions loading] -#include <math.h> // Required for: atan2f() #if defined(GRAPHICS_API_OPENGL_11) #if defined(__APPLE__) |
