17 lines
274 B
C++
17 lines
274 B
C++
|
/** Parses .obj mesh files, outputting a `Mesh` */
|
||
|
|
||
|
#include <fstream>
|
||
|
#include <string>
|
||
|
#include <stdexcept>
|
||
|
|
||
|
#include "../Mesh.hpp"
|
||
|
|
||
|
class ObjParser {
|
||
|
public:
|
||
|
ObjParser(const std::string& path);
|
||
|
Mesh parse();
|
||
|
|
||
|
private:
|
||
|
std::string path;
|
||
|
};
|