1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

reg3:: vertices_only_local was not computed

This commit is contained in:
Zeno Rogue 2021-07-12 10:01:05 +02:00
parent 7c9bea6e1b
commit 06ec86347c

View File

@ -619,6 +619,7 @@ EX namespace reg3 {
ss.from_cellcenter = gpushxto0(ss.cellcenter);
ss.faces_local = ss.faces;
for(auto& face: ss.faces_local) for(auto& v: face) v = ss.from_cellcenter * v;
ss.vertices_only_local = ss.vertices_only;
for(auto& v: ss.vertices_only_local) v = ss.from_cellcenter * v;
int N = isize(ss.faces);