1
0
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:
Zeno Rogue
2020-02-13 11:09:18 +01:00
parent 42f4167a26
commit e133fffd5d
2 changed files with 14 additions and 2 deletions

View File

@@ -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()) {