mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	fixed pointing in sphere orthographic
This commit is contained in:
		| @@ -63,7 +63,7 @@ EX hyperpoint perspective_to_space(hyperpoint h, ld alpha IS(pconf.alpha), eGeom | |||||||
|   B /= A; C /= A; |   B /= A; C /= A; | ||||||
|    |    | ||||||
|   ld rootsign = 1; |   ld rootsign = 1; | ||||||
|   // if(gc == gcSphere && pconf.alpha > 1) rootsign = -1; |   if(gc == gcSphere && pconf.alpha > 1) rootsign = -1; | ||||||
|    |    | ||||||
|   ld hz = B / 2 + rootsign * sqrt(C + B*B/4); |   ld hz = B / 2 + rootsign * sqrt(C + B*B/4); | ||||||
|    |    | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue