Updated raylib architecture (markdown)

master
Ray 6 years ago
parent
commit
6cb32530dc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      raylib-architecture.md

+ 2
- 2
raylib-architecture.md

@ -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. - [`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. - [`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. - [`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. 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.* *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-onlylike 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. And that's currently the raylib internal structure.

Loading…
Cancel
Save