mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed optimization in S2xE
This commit is contained in:
		| @@ -1546,7 +1546,7 @@ void celldrawer::draw_features_and_walls_3d() { | |||||||
|             } |             } | ||||||
|           } |           } | ||||||
|         else if(prod) { |         else if(prod) { | ||||||
|           if(a < c->type-2) { |           if(a < c->type-2 && !in_s2xe()) { | ||||||
|             ld d = in_e2xe() ? sqhypot_d(2, tC0(V)) : V[2][2]; |             ld d = in_e2xe() ? sqhypot_d(2, tC0(V)) : V[2][2]; | ||||||
|             hyperpoint h = (V * cgi.walltester[ofs + a]); |             hyperpoint h = (V * cgi.walltester[ofs + a]); | ||||||
|             ld d1 = in_e2xe() ? sqhypot_d(2, h) : h[2]; |             ld d1 = in_e2xe() ? sqhypot_d(2, h) : h[2]; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue