From 2a98b7a3ee3561c01a22ed1f42f801bb31215358 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 15 Nov 2021 10:48:04 +0100 Subject: [PATCH] Updated raylib libc dependency (markdown) --- raylib-libc-dependency.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/raylib-libc-dependency.md b/raylib-libc-dependency.md index c05fdbd..0dbc4c6 100644 --- a/raylib-libc-dependency.md +++ b/raylib-libc-dependency.md @@ -7,7 +7,7 @@ While working on **raylib 3.0** I took some time to analyze that dependency in d | module | libc function | raylib function | | :----: | --------------- | ----------------- | | core | srand() | InitTimer() | -| core | abs(), rand() | GetRandomValue() | +| core | abs()
rand() | GetRandomValue() | | core | atexit() | InitKeyboard()
InitTerminal() | | shapes | fabs() | CheckCollisionCircleRec()
GetCollisionRec() | | utils | exit() | TraceLog() | @@ -18,7 +18,7 @@ While working on **raylib 3.0** I took some time to analyze that dependency in d | :----: | --------------- | ----------------- | | utils | sprintf() | TraceLog() | | utils | fprintf() | SaveFileText() | -| utils | fopen(), fseek(), fread(), fwrite(), fclose() | LoadFileData()
SaveFileData()
LoadFileText()
SaveFileText() | +| utils | fopen()
fseek()
fread()
fwrite()
fclose() | LoadFileData()
SaveFileData()
LoadFileText()
SaveFileText() | ### string.h @@ -39,9 +39,9 @@ While working on **raylib 3.0** I took some time to analyze that dependency in d | module | libc function | raylib function | | :----: | --------------- | ----------------- | -| models, shapes, camera | sinf(), asinf(), cosf()
acosf(), sqrtf(), atan2f() | *several funcs.* | -| raymath | sinf(), cosf(), acosf(), tan()
fabs(), sqrtf(), fminf(), fmaxf() | *several funcs.* | -| core | tan(), atan2() | BeginMode3D(), InitVrSimulator() | +| models, shapes, camera | sinf()
asinf()
cosf()
acosf()
sqrtf()
atan2f() | *several funcs.* | +| raymath | sinf()
cosf()
acosf()
tan()
fabs()
sqrtf()
fminf()
fmaxf() | *several funcs.* | +| core | tan()
atan2() | BeginMode3D(), InitVrSimulator() | | text | sqrtf() | GenImageFontAtlas() | ### stdarg.h