Updated raylib libc dependency (markdown)

master
Ray 3 年之前
父節點
當前提交
2a98b7a3ee
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. +5
    -5
      raylib-libc-dependency.md

+ 5
- 5
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 | | module | libc function | raylib function |
| :----: | --------------- | ----------------- | | :----: | --------------- | ----------------- |
| core | srand() | InitTimer() | | core | srand() | InitTimer() |
| core | abs(), rand() | GetRandomValue() |
| core | abs()<br>rand() | GetRandomValue() |
| core | atexit() | InitKeyboard()<br>InitTerminal() | | core | atexit() | InitKeyboard()<br>InitTerminal() |
| shapes | fabs() | CheckCollisionCircleRec()<br>GetCollisionRec() | | shapes | fabs() | CheckCollisionCircleRec()<br>GetCollisionRec() |
| utils | exit() | TraceLog() | | 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 | sprintf() | TraceLog() |
| utils | fprintf() | SaveFileText() | | 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 ### 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 | | 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() | | text | sqrtf() | GenImageFontAtlas() |
### stdarg.h ### stdarg.h

Loading…
取消
儲存