mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 16:23:08 +00:00
moved reg3 values to cgi
This commit is contained in:
1 parent
8b7f2f3969
commit
233adddd36
7 files changed
+122
-118
No files matched your search
+3
-4
@@ -1021,13 +1021,12 @@ void geometry_information::create_wall3d() {
|
||||
}
|
||||
}
|
||||
|
||||
if(GDIM == 3 && !euclid && !bt::in() && !nonisotropic && !hybri && !kite::in()) {
|
||||
reg3::generate();
|
||||
int facesize = isize(reg3::cellshape) / S7;
|
||||
if(reg3::in()) {
|
||||
int facesize = isize(cgi.cellshape) / S7;
|
||||
for(int w=0; w<S7; w++) {
|
||||
vector<hyperpoint> vertices;
|
||||
for(int a=0; a<facesize; a++)
|
||||
vertices.push_back(reg3::cellshape[w*facesize+a]);
|
||||
vertices.push_back(cgi.cellshape[w*facesize+a]);
|
||||
make_wall(w, vertices);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user