mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
torus rendering no longer creates darker areas because of side difference
This commit is contained in:
parent
53a235a11f
commit
38411a9a8b
2
rug.cpp
2
rug.cpp
@ -484,7 +484,7 @@ void buildTorusRug() {
|
||||
for(int yy=0; yy<rugmax; yy++)
|
||||
for(int xx=0; xx<rugmax; xx++)
|
||||
addTriangle(rugarr[yy][xx], rugarr[yy+1][xx], rugarr[yy+1][xx+1], modelscale/rugmax),
|
||||
addTriangle(rugarr[yy][xx], rugarr[yy][xx+1], rugarr[yy+1][xx+1], modelscale/rugmax);
|
||||
addTriangle(rugarr[yy][xx+1], rugarr[yy][xx], rugarr[yy+1][xx+1], modelscale/rugmax);
|
||||
}
|
||||
|
||||
double maxz = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user