mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
reg3:: vertices_only_local was not computed
This commit is contained in:
parent
7c9bea6e1b
commit
06ec86347c
1
reg3.cpp
1
reg3.cpp
@ -619,6 +619,7 @@ EX namespace reg3 {
|
|||||||
ss.from_cellcenter = gpushxto0(ss.cellcenter);
|
ss.from_cellcenter = gpushxto0(ss.cellcenter);
|
||||||
ss.faces_local = ss.faces;
|
ss.faces_local = ss.faces;
|
||||||
for(auto& face: ss.faces_local) for(auto& v: face) v = ss.from_cellcenter * v;
|
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;
|
for(auto& v: ss.vertices_only_local) v = ss.from_cellcenter * v;
|
||||||
|
|
||||||
int N = isize(ss.faces);
|
int N = isize(ss.faces);
|
||||||
|
Loading…
Reference in New Issue
Block a user