1
0

model.h 277 B

123456789101112131415161718
  1. #ifndef SCUFENG_MODEL_H_
  2. #define SCUFENG_MODEL_H_
  3. #include <stddef.h>
  4. typedef struct {
  5. float* vertices;
  6. size_t vertices_n;
  7. } Mesh;
  8. typedef struct {
  9. Mesh* meshes;
  10. size_t meshes_n;
  11. } Model;
  12. Model model_load_gltf(const char* path);
  13. #endif // SCUFENG_MODEL_H_