diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 17:03:15 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 17:03:15 +0100 |
| commit | 3e3ffdfe8de8b5bdda7f479d2ae198821b65a9dd (patch) | |
| tree | ca815ebc7173eac374e08f4360d3cb86bac6106c /src/rendering.h | |
| parent | cd18a78e924f262fda022cdaab1fc681cce42fec (diff) | |
adding cglm
Diffstat (limited to 'src/rendering.h')
| -rw-r--r-- | src/rendering.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/rendering.h b/src/rendering.h new file mode 100644 index 0000000..b7d4a2a --- /dev/null +++ b/src/rendering.h @@ -0,0 +1,16 @@ +#pragma once + +#include <cglm/cglm.h> + +#include "cglm/types.h" +#include "utils.h" + +struct uv_s { + vec2 uv0; + vec2 uv1; +}; + +typedef u32 atlas_t; + +bool atlas_init(atlas_t* atlas, u32 width, u32 height); +void atlas_deinit(atlas_t* atlas); |
