started working on 3D building stuff

This commit is contained in:
2018-02-05 20:20:48 +01:00
parent d8b91cf144
commit 0bb1b707de
7 changed files with 145 additions and 74 deletions

View File

@@ -146,7 +146,8 @@ TEST(BVH, treeMap) {
ModelFactory fac(map);
fac.setExportCeilings(false);
fac.setFloors({map->floors[3]});
std::vector<Obstacle3D> obs = fac.triangulize();
FloorplanMesh mesh = fac.getMesh();
std::vector<Obstacle3D> obs = mesh.elements;
BVH3Debug<Obstacle3D, BoundingVolumeSphere3, WrapperObs3D> tree;