mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated raylib architecture (markdown)
@ -9,7 +9,7 @@ raylib is a very modular library, defined by a small number of specific and self
|
||||
- [`textures`](https://github.com/raysan5/raylib/blob/master/src/textures.c): Textures / Image loading and management.
|
||||
- [`text`](https://github.com/raysan5/raylib/blob/master/src/text.c): Font data loading and text drawing.
|
||||
- [`models`](https://github.com/raysan5/raylib/blob/master/src/models.c): 3D models loading and drawing.
|
||||
- [`audio`](https://github.com/raysan5/raylib/blob/master/src/audio.c): Audio device management and sounds / music loading and playing.
|
||||
- [`raudio`](https://github.com/raysan5/raylib/blob/master/src/audio.c): Audio device management and sounds / music loading and playing.
|
||||
|
||||
Those 7 modules share a common header: [`raylib.h`](https://github.com/raysan5/raylib/blob/master/src/raylib.h), all user functions are defined in that header, despite the fact they are divided internally in 7 modules. That way, the user just needs to include `raylib.h` to get all raylib functionality. Other libraries use one header for every module (that way the user can choose included modules) or also headers that refer to other headers. raylib uses a simpler approach that's easier for novice (and expert) users.
|
||||
|
||||
@ -27,6 +27,6 @@ Most of the secondary modules can also be used as standalone libraries: `raymath
|
||||
|
||||
*NOTE: `raymath`, `camera` and `gestures` are compiled by default with raylib.*
|
||||
|
||||
raylib also uses some external libraries—most of them included as single-file header-only—like the well-known [stb libraries](https://github.com/nothings/stb) or [similar ones](https://github.com/raysan5/raylib/tree/develop/src/external).
|
||||
raylib also uses some external libraries—most of them included as single-file header-only libraries, like the well-known [stb libraries](https://github.com/nothings/stb) and [similar ones](https://github.com/raysan5/raylib/tree/develop/src/external).
|
||||
|
||||
And that's currently the raylib internal structure.
|
||||
Reference in New Issue
Block a user