mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-01 15:30:16 +00:00
nilv:: nilwidth option
This commit is contained in:
@@ -1079,7 +1079,12 @@ void geometry_information::create_wall3d() {
|
||||
}
|
||||
|
||||
if(geometry == gNil) {
|
||||
for(int i=0; i<S7; i++) make_wall(i, nilv::current_ns().facevertices[i]);
|
||||
for(int i=0; i<S7; i++) {
|
||||
vector<hyperpoint> fvs = nilv::current_ns().facevertices[i];
|
||||
using nilv::nilwidth;
|
||||
for(auto& h: fvs) h[0] *= nilwidth, h[1] *= nilwidth, h[2] *= nilwidth * nilwidth;
|
||||
make_wall(i, fvs);
|
||||
}
|
||||
}
|
||||
|
||||
if(kite::in()) {
|
||||
|
||||
Reference in New Issue
Block a user