#pragma once #include #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);