work on raytracing
This commit is contained in:
24
wifi/estimate/ray3/Obstacle3.h
Normal file
24
wifi/estimate/ray3/Obstacle3.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef OBSTACLE3_H
|
||||
#define OBSTACLE3_H
|
||||
|
||||
#include <vector>
|
||||
#include "../../../geo/Triangle3.h"
|
||||
#include "../../../geo/Sphere3.h"
|
||||
|
||||
#include "../../../floorplan/v2/Floorplan.h"
|
||||
|
||||
struct Obstacle3D {
|
||||
|
||||
Floorplan::Material mat;
|
||||
std::vector<Triangle3> triangles;
|
||||
|
||||
/** empty ctor */
|
||||
Obstacle3D() : mat() {;}
|
||||
|
||||
/** ctor */
|
||||
Obstacle3D(Floorplan::Material mat) : mat(mat) {;}
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // OBSTACLE3_H
|
||||
Reference in New Issue
Block a user