mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
cgi.cellshape is now vector of vectors
This commit is contained in:
1 parent
4a80af6912
commit
6b594b9fc9
4 files changed
+34
-32
No files matched your search
+2
-9
@@ -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