diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-31 21:58:18 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-31 21:58:18 +0100 |
commit | 6810d01af98a67f39a7698f7d16339eb58dbef25 (patch) | |
tree | db6cf7644b977ddddb3d7084e3e87235b5397226 /game/geoData.h | |
parent | Split long boundary edges (diff) | |
download | ilt-6810d01af98a67f39a7698f7d16339eb58dbef25.tar.bz2 ilt-6810d01af98a67f39a7698f7d16339eb58dbef25.tar.xz ilt-6810d01af98a67f39a7698f7d16339eb58dbef25.zip |
Factor out some helper lambdas into members
Diffstat (limited to 'game/geoData.h')
-rw-r--r-- | game/geoData.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/game/geoData.h b/game/geoData.h index 5671954..88eb304 100644 --- a/game/geoData.h +++ b/game/geoData.h @@ -109,6 +109,9 @@ protected: [[nodiscard]] static bool triangleOverlapsTriangle(const Triangle<2> &, const Triangle<2> &); [[nodiscard]] static bool triangleContainsTriangle(const Triangle<2> &, const Triangle<2> &); [[nodiscard]] HalfedgeHandle findBoundaryStart() const; + [[nodiscard]] RelativePosition3D difference(const HalfedgeHandle) const; + [[nodiscard]] RelativeDistance length(const HalfedgeHandle) const; + [[nodiscard]] GlobalPosition3D centre(const HalfedgeHandle) const; void update_vertex_normals_only(); |