moved from ray3 to floorplan/3D
worked on new wall models refactoring
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "../geo/ConvexHull2.h"
|
||||
#include "../geo/GPCPolygon2.h"
|
||||
#include "../wifi/estimate/ray3/OBJPool.h"
|
||||
#include "../floorplan/3D/objects/OBJPool.h"
|
||||
|
||||
#include "NavMesh.h"
|
||||
#include "NavMeshTriangle.h"
|
||||
@@ -632,7 +632,7 @@ namespace NM {
|
||||
Floorplan::Polygon2 res;
|
||||
|
||||
// fetch object from pool
|
||||
const Ray3D::Obstacle3D obs = Ray3D::OBJPool::get().getObject(obj->file).scaled(obj->scale).rotated_deg(obj->rot).translated(obj->pos);
|
||||
const Floorplan3D::Obstacle3D obs = Floorplan3D::OBJPool::get().getObject(obj->file).scaled(obj->scale).rotated_deg(obj->rot).translated(obj->pos);
|
||||
|
||||
// construct 2D convex hull
|
||||
res.points = ConvexHull2::get(obs.getPoints2D());
|
||||
|
||||
Reference in New Issue
Block a user