-
-
Save zid/107deaf43ea7b5049af7f216b53bddcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef M3D_H | |
#define M3D_H | |
typedef struct m3d m3d; | |
struct m3d *m3d_new(const char *path); | |
void m3d_free(struct m3d *m); | |
struct img *m3d_get_tex(struct m3d *m, int n); | |
float *m3d_get_verts(struct m3d *m, int n, uint32_t *out); | |
unsigned short *m3d_get_elems(struct m3d *m, int n, uint32_t *out); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment