https://github.com/AfroDave/kj
kj is a small collection of stb inspired libs.
https://github.com/AfroDave/kj
c cpp math public-domain stb
Last synced: 17 days ago
JSON representation
kj is a small collection of stb inspired libs.
- Host: GitHub
- URL: https://github.com/AfroDave/kj
- Owner: AfroDave
- License: other
- Created: 2016-05-17T16:57:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T12:37:35.000Z (about 7 years ago)
- Last Synced: 2024-11-14T21:38:23.390Z (6 months ago)
- Topics: c, cpp, math, public-domain, stb
- Language: C
- Homepage:
- Size: 271 KB
- Stars: 17
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - kj
README
# kj
`kj` is a small collection of [stb](https://github.com/nothings/stb) inspired libs.
library | category
--------------------|----------
**kj.h** | misc
**kj_math.h** | maths
**kj_thread.h** | multithreadAll the libraries target C/C++ for both win32 and linux.
*Warning: Still in development.*
## Usage
All the libraries follow the same pattern:
```
#define KJ(_MATH|_THREAD|...)_IMPL
#include "kj(_math|_thread|...).h"
```The implementation part is only required *once* in a C/C++ file that includes
the header. Otherwise include only the header:```
#include "kj(_math|_thread|...).h"
```## License
This software is in the public domain. Where that dedication is not recognized,
you are granted a perpetual, irrevocable license to copy, distribute, and modify
the source code as you see fit.The source code is provided "as is", without warranty of any kind, express or implied.
No attribution is required, but always appreciated.