dd_filetomesh.h 507 B

1234567891011121314151617181920212223
  1. #ifndef DD_FILETOMESH_H
  2. #define DD_FILETOMESH_H
  3. /* Needs mesh, to store data into */
  4. #include "dd_mesh.h"
  5. /* Settings for different things */
  6. /* Mirroring - can be piped together for multiple mirroring */
  7. #define DD_MIRROR_X 1
  8. #define DD_MIRROR_Y 2
  9. #define DD_MIRROR_Z 4
  10. /* Files supported */
  11. #define DD_PLY 0
  12. #define DD_OBJ 1
  13. /* Loads a file and saves to the given mesh */
  14. int dd_filetomesh(struct dd_mesh *m, const char *path,
  15. char mirror, char *attr, int file_type);
  16. #endif /* DD_FILETOMESH_H */