aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 9a888c6dd6197b2bc983494121a3993529835900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Zig GLM

A GLM alternative for the zig programming language.

## Installation

Execute the following from your project root to install the library.  Note that
the `dependencies` can be replaced with any other directory.

```sh
mkdir -p dependencies
git submodules add https://github.com/ziglang-contrib/glm dependencies/glm
cd dependencies/glm
git checkout v1.0.0
cd ../..
```

Add the following to your `build.zig` (replacing `exe` with the actual build step that requires this library):

```zig
exe.addPackagePath("glm", "dependencies/glm/glm.zig");
```