aboutsummaryrefslogtreecommitdiff
path: root/include/model_loader/ObjModelLoader.hpp
blob: 1020348d2f5bc677af218deb8be31482fa5e027f (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 bool load_from_file(const char *filepath, std::vector<Triangle3D> &triangles, std::vector<vec2f> &texture_coords, Image **image);
    };
}