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,7 +5260,11 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case waFan:
|
case waFan:
|
||||||
queuepoly(V * spintick(PURE ? -1000 : -500, 1/12.), shFan, darkena(wcol, 0, 0xFF));
|
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));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case waArrowTrap:
|
case waArrowTrap:
|
||||||
|
Loading…
Reference in New Issue
Block a user