mirror of
https://github.com/Starpelly/raylib-beef.git
synced 2025-06-24 13:38:00 +02:00
Initial commit
This commit is contained in:
commit
b49ad727ee
93 changed files with 57538 additions and 0 deletions
58
raylib-api/README.md
Normal file
58
raylib-api/README.md
Normal file
|
@ -0,0 +1,58 @@
|
|||
# raylib-api [](https://npmjs.org/package/@raylib/api "@raylib/api on npm")
|
||||
|
||||
Exports of the [raylib](https://github.com/raysan5/raylib/) API through [raylib's parser](https://github.com/raysan5/raylib/tree/master/parser).
|
||||
|
||||
**Target Version:** 4.5.0
|
||||
|
||||
## Features
|
||||
|
||||
Versioned exports of the latest raylib APIs through the latest version of the [parser](https://github.com/raysan5/raylib/tree/master/parser):
|
||||
|
||||
- reasings
|
||||
- raygui
|
||||
- raylib
|
||||
- raymath
|
||||
- rlgl
|
||||
- rmem
|
||||
- rres
|
||||
|
||||
## Usage
|
||||
|
||||
Since this is just data, there are a few ways to use *raylib-api*...
|
||||
|
||||
### [Node.js](https://www.npmjs.com/package/@raylib/api)
|
||||
|
||||
``` bash
|
||||
npm install @raylib/api
|
||||
```
|
||||
|
||||
``` js
|
||||
const raylibApi = require('@raylib/api')
|
||||
```
|
||||
|
||||
### git
|
||||
|
||||
``` bash
|
||||
# Clone
|
||||
git clone https://github.com/RobLoach/raylib-api.git
|
||||
|
||||
# Submodule
|
||||
git submodule add https://github.com/RobLoach/raylib-api.git
|
||||
```
|
||||
|
||||
## Update
|
||||
|
||||
To update the exported APIs based on the latest parser, run:
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
See [Makefile](Makefile) for more.
|
||||
|
||||
## License
|
||||
|
||||
*raylib-api* is licensed under an unmodified zlib/libpng license, which is an OSI-certified,
|
||||
BSD-like license that allows static linking with closed source software. Check [LICENSE](LICENSE) for further details.
|
||||
|
||||
*Copyright (c) 2022 Rob Loach ([@RobLoach](https://twitter.com/RobLoach))*
|
Loading…
Add table
Add a link
Reference in a new issue