mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
2d3d:: fan graphics
This commit is contained in:
parent
8046de11bd
commit
5de099e921
@ -5260,6 +5260,10 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case waFan:
|
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));
|
||||||
|
else
|
||||||
queuepoly(V * spintick(PURE ? -1000 : -500, 1/12.), shFan, darkena(wcol, 0, 0xFF));
|
queuepoly(V * spintick(PURE ? -1000 : -500, 1/12.), shFan, darkena(wcol, 0, 0xFF));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user