initial commit

setup for 2D and 3D raytracing
This commit is contained in:
kazu
2017-09-13 08:04:56 +02:00
parent ba0622e788
commit c9e425ec96
5 changed files with 322 additions and 0 deletions

18
code/misc.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef MISC_H
#define MISC_H
#include <Indoor/floorplan/v2/FloorplanReader.h>
#include <Indoor/wifi/estimate/ray3/ModelFactory.h>
#include <string>
#include <fstream>
void writeMap3(const Floorplan::IndoorMap* map, const std::string& file) {
ModelFactory fac(map);
std::ofstream outOBJ(file);
outOBJ << fac.toOBJ();
outOBJ.close();
}
#endif // MISC_H