mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
2d3d:: fan fix
This commit is contained in:
parent
ec3599ed71
commit
70cd6c0669
@ -5263,7 +5263,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
||||
case waFan:
|
||||
if(DIM == 3)
|
||||
for(int a=0; a<10; a++)
|
||||
queuepoly(V * zpush(geom3::FLOOR + (geom3::WALL - geom3::FLOOR) * a/10.) * spintick(a * degree + PURE ? -1000 : -500, 1/12.), shFan, darkena(wcol, 0, 0xFF));
|
||||
queuepoly(V * zpush(geom3::FLOOR + (geom3::WALL - geom3::FLOOR) * a/10.) * spin(a *degree) * spintick(PURE ? -1000 : -500, 1/12.), shFan, darkena(wcol, 0, 0xFF));
|
||||
else
|
||||
queuepoly(V * spintick(PURE ? -1000 : -500, 1/12.), shFan, darkena(wcol, 0, 0xFF));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user