mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated raylib libc dependency (markdown)
@ -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()<br>rand() | GetRandomValue() |
|
||||
| core | atexit() | InitKeyboard()<br>InitTerminal() |
|
||||
| shapes | fabs() | CheckCollisionCircleRec()<br>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()<br>SaveFileData()<br>LoadFileText()<br>SaveFileText() |
|
||||
| utils | fopen()<br>fseek()<br>fread()<br>fwrite()<br>fclose() | LoadFileData()<br>SaveFileData()<br>LoadFileText()<br>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()<br>acosf(), sqrtf(), atan2f() | *several funcs.* |
|
||||
| raymath | sinf(), cosf(), acosf(), tan()<br>fabs(), sqrtf(), fminf(), fmaxf() | *several funcs.* |
|
||||
| core | tan(), atan2() | BeginMode3D(), InitVrSimulator() |
|
||||
| models, shapes, camera | sinf()<br>asinf()<br>cosf()<br>acosf()<br>sqrtf()<br>atan2f() | *several funcs.* |
|
||||
| raymath | sinf()<br>cosf()<br>acosf()<br>tan()<br>fabs()<br>sqrtf()<br>fminf()<br>fmaxf() | *several funcs.* |
|
||||
| core | tan()<br>atan2() | BeginMode3D(), InitVrSimulator() |
|
||||
| text | sqrtf() | GenImageFontAtlas() |
|
||||
|
||||
### stdarg.h
|
||||
|
||||
Reference in New Issue
Block a user