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