aboutsummaryrefslogtreecommitdiff
path: root/include/model_loader/ObjModelLoader.hpp
blob: 50782448b6c2838532046052e68bd27d955b89df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "../Triangle.hpp"
#include "../Vec.hpp"
#include <vector>

namespace amalgine {
    class Image;

    class ObjModelLoader {
    public:
        static void load_from_file(const char *filepath, std::vector<Triangle3D> &triangles, std::vector<vec2f> &texture_coords, Image **image);
    };
}