mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	inforder:: some settings in polygons.cpp to draw procedural graphics correctly
This commit is contained in:
		| @@ -425,6 +425,7 @@ void geometry_information::procedural_shapes() { | |||||||
|   else { |   else { | ||||||
|     ld rad0 = floorrad0, rad1 = floorrad1; |     ld rad0 = floorrad0, rad1 = floorrad1; | ||||||
|     if(penrose) rad0 /= 2, rad1 /= 2; |     if(penrose) rad0 /= 2, rad1 /= 2; | ||||||
|  |     if(S3 >= OINF) rad0 = rad1 = zhexf; | ||||||
|     bshape(shWall[0], PPR::WALL); |     bshape(shWall[0], PPR::WALL); | ||||||
|     for(int t=0; t<=S6; t++) { |     for(int t=0; t<=S6; t++) { | ||||||
|       hpcpush(ddi(S7 + t*S14, rad0) * C0); |       hpcpush(ddi(S7 + t*S14, rad0) * C0); | ||||||
| @@ -1127,6 +1128,10 @@ void geometry_information::prepare_shapes() { | |||||||
|     SD3 = S3; |     SD3 = S3; | ||||||
|     SD7 = S7; |     SD7 = S7; | ||||||
|     } |     } | ||||||
|  |   if(S3 >= OINF) { | ||||||
|  |     SD3 = 3; | ||||||
|  |     SD7 = 9; | ||||||
|  |     } | ||||||
|   SD6 = SD3 * 2; |   SD6 = SD3 * 2; | ||||||
|   S42 = SD7 * SD6; |   S42 = SD7 * SD6; | ||||||
|   S12 = SD6 * 2; |   S12 = SD6 * 2; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue