libgb.c 1.2021.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (7) hide show
  1. package/README.md +68 -0
  2. package/gb.h +10824 -0
  3. package/gb_gl.h +2592 -0
  4. package/gb_ini.h +425 -0
  5. package/gb_math.h +2234 -0
  6. package/gb_string.h +511 -0
  7. package/package.json +15 -0
package/README.md ADDED
@@ -0,0 +1,68 @@
1
+ # gb
2
+
3
+ gb single-file public domain libraries for C & C++, by [gingerBill](https://github.com/gingerBill).
4
+
5
+ library | latest version | category | description
6
+ ----------------|----------------|----------|-------------
7
+ **gb.h** | 0.27 | misc | Helper library (Standard library _improvement_)
8
+ **gb_math.h** | 0.07e | math | Vector math library geared towards game development
9
+ **gb_gl.h** | 0.05 | graphics | OpenGL Helper Library
10
+ **gb_string.h** | 0.95a | strings | A better string library (this is built into gb.h too with custom allocator support!)
11
+ **gb_ini.h** | 0.93 | misc | Simple ini file loader library
12
+
13
+
14
+ ## Installation
15
+
16
+ Run:
17
+ ```bash
18
+ $ npm i libgb.c
19
+ ```
20
+
21
+ And then include `gb.h`, and related, as follows:
22
+ ```c
23
+ #include "node_modules/libgb.c/src/gb.h"
24
+ #include "node_modules/libgb.c/src/gb_math.h"
25
+ #include "node_modules/libgb.c/src/gb_string.h"
26
+ #include "node_modules/libgb.c/src/gb_ini.h"
27
+ #include "node_modules/libgb.c/src/gb_gl.h"
28
+ ```
29
+
30
+
31
+ ## FAQ
32
+
33
+ ### What's the license?
34
+
35
+ These libraries are in the public domain. You can do anything you want with them. You have no legal obligation to do anything else, although I would appreciate attribution.
36
+
37
+ ### If I wrap an gb library in a new library, does the new library have to be public domain?
38
+
39
+ No.
40
+
41
+ ### Is this in the style of the [stb libraries](https://github.com/nothings/stb)?
42
+
43
+ Yes. I think these libraries are brilliant and use many of these on a daily basis.
44
+
45
+ ### May I contribute?
46
+
47
+ Yes.
48
+
49
+ ### What is the versioning system that you use?
50
+
51
+ I may change it in the future but at the moment it is like this this:
52
+
53
+ `1.23b`
54
+
55
+ * `1` = major version
56
+ * `23` = minor version
57
+ * `b` = patch
58
+ - 1.23 => zero patches
59
+ - 1.23a => patch 1
60
+ - 1.23b => patch 2
61
+ - etc.
62
+
63
+ <br>
64
+ <br>
65
+
66
+
67
+ [![ORG](https://img.shields.io/badge/org-nodef-green?logo=Org)](https://nodef.github.io)
68
+ ![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/gb.c)