nilv:: nilwidth option

This commit is contained in:
Zeno Rogue committed 2020-02-13 11:09:18 +01:00
1 parent 42f4167a26
commit e133fffd5d
2 files changed
+14 -2

No files matched your search

+6 -1
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()) {