summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-11-27 02:50:06 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-11-27 02:50:06 +0000
commit2e1a91564c4765dbdc3f633ba0ff8a4af7164503 (patch)
tree9b7d9890df268a2766a3aa880ccd8d8489cd8b8c /game/geoData.h
parentSurface walk to set face surface property (diff)
downloadilt-2e1a91564c4765dbdc3f633ba0ff8a4af7164503.tar.bz2
ilt-2e1a91564c4765dbdc3f633ba0ff8a4af7164503.tar.xz
ilt-2e1a91564c4765dbdc3f633ba0ff8a4af7164503.zip
Update new/moved vertex normals
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/game/geoData.h b/game/geoData.h
index c28dd14..71ec85f 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -200,8 +200,9 @@ protected:
[[nodiscard]] RelativeDistance length(const HalfedgeHandle) const;
[[nodiscard]] GlobalPosition3D centre(const HalfedgeHandle) const;
- void update_vertex_normals_only();
- void update_vertex_normals_only(VertexIter start);
+ void updateAllVertexNormals();
+ template<std::ranges::range R> void updateAllVertexNormals(const R &);
+ void updateVertexNormal(VertexHandle);
private:
GlobalPosition3D lowerExtent {}, upperExtent {};