spinny-cube/texture_map.h
2026-03-24 22:47:12 +01:00

15 lines
297 B
C

#ifndef TEXTURE_MAP_H
#define TEXTURE_MAP_H
#include "linalg.h"
#include <stdint.h>
typedef struct TextureMap TextureMap;
TextureMap* texture_map_new(const char* filename);
void texture_map_free(TextureMap* map);
void texture_map_read_texture(TextureMap* map, uint32_t* data, int id);
#endif