mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	in disk models of 3D, walls are still drawn if the adjacent cell is a wall but not drawn
This commit is contained in:
		| @@ -6075,8 +6075,11 @@ EX void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { | |||||||
|  |  | ||||||
|           int d = (wcol & 0xF0F0F0) >> 4; |           int d = (wcol & 0xF0F0F0) >> 4; | ||||||
|            |            | ||||||
|           for(int a=0; a<c->type; a++) |           for(int a=0; a<c->type; a++) { | ||||||
|             if(c->move(a) && !isWall3(c->move(a), dummy)) { |             bool b = true; | ||||||
|  |             if(c->move(a) && (among(pmodel, mdPerspective, mdGeodesic) || gmatrix0.count(c->move(a)))) | ||||||
|  |               b = !isWall3(c->move(a), dummy); | ||||||
|  |             if(b) { | ||||||
|               if(pmodel == mdPerspective && !sphere && !quotient && !penrose && !nonisotropic && !hybri && !experimental && !nih) { |               if(pmodel == mdPerspective && !sphere && !quotient && !penrose && !nonisotropic && !hybri && !experimental && !nih) { | ||||||
|                 if(a < 4 && among(geometry, gHoroTris, gBinary3) && celldistAlt(c) >= celldistAlt(viewcenter())) continue; |                 if(a < 4 && among(geometry, gHoroTris, gBinary3) && celldistAlt(c) >= celldistAlt(viewcenter())) continue; | ||||||
|                 else if(a < 2 && among(geometry, gHoroRec) && celldistAlt(c) >= celldistAlt(viewcenter())) continue; |                 else if(a < 2 && among(geometry, gHoroRec) && celldistAlt(c) >= celldistAlt(viewcenter())) continue; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue