summaryrefslogtreecommitdiff
path: root/src/rendering.h
blob: b7d4a2a9ef9bf59c740f0d7dc7791f325f5a9475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);