mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	solv:: fixed another potential problem
This commit is contained in:
		| @@ -224,7 +224,7 @@ EX namespace sn { | |||||||
|   EX hyperpoint table_to_azeq(hyperpoint x) { |   EX hyperpoint table_to_azeq(hyperpoint x) { | ||||||
|     // Poincare to azimuthal equidistant   |     // Poincare to azimuthal equidistant   | ||||||
|     ld hr = sqhypot_d(3, x); |     ld hr = sqhypot_d(3, x); | ||||||
|     if(hr == 0) return point3(0,0,0);     |     if(hr < 1e-5) return x * 2; | ||||||
|     if(hr >= 1) return x * 60; |     if(hr >= 1) return x * 60; | ||||||
|     ld hz = (1 + hr) / (1 - hr); |     ld hz = (1 + hr) / (1 - hr); | ||||||
|     ld d = (hz+1) * acosh(hz) / sinh(acosh(hz));     |     ld d = (hz+1) * acosh(hz) / sinh(acosh(hz));     | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue