15 lines
297 B
C
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
|