From a4b3f04803aceb9c750d4317a3e7cf3e56996518 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 1 Apr 2024 20:07:00 +0100 Subject: Replace face 4-way split Fixes integer rounding issue and returns the new face handles --- game/geoData.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/geoData.h') diff --git a/game/geoData.h b/game/geoData.h index 88eb304..6dacd9a 100644 --- a/game/geoData.h +++ b/game/geoData.h @@ -115,6 +115,9 @@ protected: void update_vertex_normals_only(); + using OpenMesh::TriMesh_ArrayKernelT::split; + std::array split(FaceHandle); + private: GlobalPosition3D lowerExtent {}, upperExtent {}; }; -- cgit v1.2.3