mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	2d3d:: fan graphics
This commit is contained in:
		| @@ -5260,6 +5260,10 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { | ||||
|           break; | ||||
|          | ||||
|         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)); | ||||
|           break; | ||||
|          | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue