1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
/*
	@author Wenzel Jakob
	@author Nico Schertler
*/

#pragma once

#include "common.h"
#include <nsessentials/util/IndentationLog.h>
#include <nsessentials/data/FileHelper.h>

#include <fstream>

#ifndef _WIN32
#include <libgen.h>
#endif


extern void LoadMesh(const std::string &filename, Matrix3Xf& V, FaceList& F);

extern void load_obj(const std::string &filename, Matrix3Xf &V, FaceList& F, Matrix2Xf &T, FaceList& FT);