aboutsummaryrefslogtreecommitdiffstats
path: root/yage/experimental/loader.h
blob: 9f076bb18f2020161e9870aa3608c1c42d98d13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef YAGE_EXPERIMENTAL_LOADER_H
#define YAGE_EXPERIMENTAL_LOADER_H

#include <string>
#include <vector>

#include <glad/glad.h>
#include <glm/glm.hpp>

namespace yage
{

extern void load_obj(std::string filename, std::vector<glm::vec4> &vertices,
                     std::vector<glm::vec3> &normals,
                     std::vector<GLushort> &elements);

} // namespace yage

#endif