aboutsummaryrefslogtreecommitdiff
path: root/include/ModelLoader.hpp
blob: bdbc458ed41d14d5ceaa3ee7557555d241e05c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
    };
}