diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-29 12:10:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 12:10:37 +0200 |
commit | 1620669f4e37c21fa45991a9bc37410014845419 (patch) | |
tree | cb9162147bba330ff007c12b349dba070b385a3a /core/math/quick_hull.h | |
parent | 6aa399be59b886e1c8c371f4ceb09f41c86a0584 (diff) | |
parent | 69d5de632e04d48a247d50c1dc2c09322129c73a (diff) | |
download | redot-engine-1620669f4e37c21fa45991a9bc37410014845419.tar.gz |
Merge pull request #39051 from Xrayez/geometry-split
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
Diffstat (limited to 'core/math/quick_hull.h')
-rw-r--r-- | core/math/quick_hull.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/math/quick_hull.h b/core/math/quick_hull.h index 29f709febe..cac8e58d23 100644 --- a/core/math/quick_hull.h +++ b/core/math/quick_hull.h @@ -33,7 +33,7 @@ #include "core/list.h" #include "core/math/aabb.h" -#include "core/math/geometry.h" +#include "core/math/geometry_3d.h" #include "core/set.h" class QuickHull { @@ -74,13 +74,13 @@ private: FaceConnect() {} }; struct RetFaceConnect { - List<Geometry::MeshData::Face>::Element *left, *right = nullptr; + List<Geometry3D::MeshData::Face>::Element *left, *right = nullptr; RetFaceConnect() {} }; public: static uint32_t debug_stop_after; - static Error build(const Vector<Vector3> &p_points, Geometry::MeshData &r_mesh); + static Error build(const Vector<Vector3> &p_points, Geometry3D::MeshData &r_mesh); }; #endif // QUICK_HULL_H |