mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	product:: clipping fixup
This commit is contained in:
		| @@ -5084,8 +5084,9 @@ EX void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { | ||||
|     } | ||||
|   if(just_gmatrix) return; | ||||
| #if MAXMDIM >= 4 | ||||
|   if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic) { | ||||
|   if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic && !(prod && product::product_sphere())) { | ||||
|     hyperpoint H = tC0(V); | ||||
|     if(prod) H = product::inverse_exp(H); | ||||
|     for(hyperpoint& cpoint: clipping_planes) if((H|cpoint) < -sin_auto(cgi.corner_bonus)) { | ||||
|       drawcell_in_radar(c, V); | ||||
|       return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue