mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed configure_product_cylinder
This commit is contained in:
		| @@ -1496,8 +1496,8 @@ EX void switch_always3() { | ||||
|   EX void configure_product_cylinder() { | ||||
|     rug::clifford_torus ct; | ||||
|     hyperpoint vec; | ||||
|     if(sqhypot_d(2, ct.yh) < 1e-6) vec = ct.yh; | ||||
|     else if(sqhypot_d(2, ct.xh) < 1e-6) vec = ct.xh; | ||||
|     if(sqhypot_d(2, ct.yh) > 1e-6) vec = ct.yh; | ||||
|     else if(sqhypot_d(2, ct.xh) > 1e-6) vec = ct.xh; | ||||
|     else vec = hyperpoint(10, 0, 0, 0); | ||||
|  | ||||
|     euclid_embed_scale = TAU / hypot_d(2, vec); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue