diff options
Diffstat (limited to 'include/ModelLoader.hpp')
-rw-r--r-- | include/ModelLoader.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/ModelLoader.hpp b/include/ModelLoader.hpp new file mode 100644 index 0000000..bdbc458 --- /dev/null +++ b/include/ModelLoader.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include "Triangle.hpp" +#include "Vec.hpp" +#include <vector> + +namespace amalgine { + class Image; + + // A model loader for .a3d files + class ModelLoader { + public: + static bool load_from_file(const char *filepath, std::vector<Triangle3D> &triangles, std::vector<vec2f> &texture_coords, Image **image); + }; +}
\ No newline at end of file |