mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
cgi.cellshape is now vector of vectors
This commit is contained in:
11
polygons.cpp
11
polygons.cpp
@@ -999,15 +999,8 @@ void geometry_information::create_wall3d() {
|
||||
}
|
||||
|
||||
if(euc::in() || reg3::in()) {
|
||||
int facesize = isize(cgi.cellshape) / S7;
|
||||
int next = 0;
|
||||
for(int w=0; w<S7; w++) {
|
||||
vector<hyperpoint> vertices;
|
||||
if(S7 == 14) facesize = (w%7 < 3 ? 4 : 6);
|
||||
for(int a=0; a<facesize; a++)
|
||||
vertices.push_back(cgi.cellshape[next++]);
|
||||
make_wall(w, vertices);
|
||||
}
|
||||
for(int w=0; w<isize(cgi.cellshape); w++)
|
||||
make_wall(w, cgi.cellshape[w]);
|
||||
}
|
||||
|
||||
if(geometry == gSol) {
|
||||
|
Reference in New Issue
Block a user