mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed 20/21 resolution in multi-cell spaces
This commit is contained in:
		| @@ -1248,14 +1248,14 @@ void raygen::emit_iterate(int gid1) { | ||||
|       "if(which == 20) {\n" | ||||
|       "  mediump float best = 999.;\n" | ||||
|       +w20+ | ||||
|         "  mediump float cand = "+f_len_prod()+"(" + getM("i") + " * position);\n" | ||||
|         "  mediump float cand = "+f_len_prod()+"(" + getM("walloffset+i") + " * position);\n" | ||||
|         "  if(cand < best) { best = cand; which = i; }\n" | ||||
|         "  }\n" | ||||
|         "}\n" | ||||
|       "if(which == 21) {\n" | ||||
|         "mediump float best = 999.;\n" | ||||
|         +w21+ | ||||
|         "  mediump float cand = "+f_len_prod()+"(" + getM("i") + " * position);\n" | ||||
|         "  mediump float cand = "+f_len_prod()+"(" + getM("walloffset+i") + " * position);\n" | ||||
|         "  if(cand < best) { best = cand; which = i; }\n" | ||||
|         "  }\n" | ||||
|         "}\n"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue