|  | @@ -4657,11 +4657,11 @@ void tnsDraw2DGrid10(real L, real R, real U, real B, real xmin, real xmax, real
 | 
	
		
			
				|  |  |          real lx=tnsInterpolate(L,R,tnsGetRatiod(xmin,xmax,x));
 | 
	
		
			
				|  |  |          tnsVertex2d(lx,U);tnsVertex2d(lx,B); x+=span;
 | 
	
		
			
				|  |  |      } tnsColor4d(LA_COLOR3(color4),color4[3]*AlphaFactor*AlphaFactor*AlphaFactor); tnsPackAs(GL_LINES);
 | 
	
		
			
				|  |  | -    x=startx; while(x<xmax){ if((((int)roundf64(x/span))%5)){ x+=span; continue; }
 | 
	
		
			
				|  |  | +    x=startx; while(x<xmax){ if((((int)round(x/span))%5)){ x+=span; continue; }
 | 
	
		
			
				|  |  |          real lx=tnsInterpolate(L,R,tnsGetRatiod(xmin,xmax,x));
 | 
	
		
			
				|  |  |          tnsVertex2d(lx,U);tnsVertex2d(lx,B); x+=span;
 | 
	
		
			
				|  |  |      } tnsColor4d(LA_COLOR3(color4),color4[3]*AlphaFactor*AlphaFactor); tnsPackAs(GL_LINES);
 | 
	
		
			
				|  |  | -    x=startx; while(x<xmax){ if((((int)roundf64(x/span))%10)){ x+=span; continue; }
 | 
	
		
			
				|  |  | +    x=startx; while(x<xmax){ if((((int)round(x/span))%10)){ x+=span; continue; }
 | 
	
		
			
				|  |  |          real lx=tnsInterpolate(L,R,tnsGetRatiod(xmin,xmax,x));
 | 
	
		
			
				|  |  |          tnsVertex2d(lx,U);tnsVertex2d(lx,B); x+=span;
 | 
	
		
			
				|  |  |      } tnsColor4d(LA_COLOR3(color4),color4[3]*AlphaFactor); tnsPackAs(GL_LINES);
 | 
	
	
		
			
				|  | @@ -4672,11 +4672,11 @@ void tnsDraw2DGrid10(real L, real R, real U, real B, real xmin, real xmax, real
 | 
	
		
			
				|  |  |          real ly=tnsInterpolate(B,U,tnsGetRatiod(ymin,ymax,y));
 | 
	
		
			
				|  |  |          tnsVertex2d(L,ly);tnsVertex2d(R,ly); y+=span;
 | 
	
		
			
				|  |  |      } tnsColor4d(LA_COLOR3(color4),color4[3]*AlphaFactor*AlphaFactor*AlphaFactor); tnsPackAs(GL_LINES);
 | 
	
		
			
				|  |  | -    y=starty; while(y<ymax){ if((((int)roundf64(y/span))%5)){ y+=span; continue; }
 | 
	
		
			
				|  |  | +    y=starty; while(y<ymax){ if((((int)round(y/span))%5)){ y+=span; continue; }
 | 
	
		
			
				|  |  |          real ly=tnsInterpolate(B,U,tnsGetRatiod(ymin,ymax,y));
 | 
	
		
			
				|  |  |          tnsVertex2d(L,ly);tnsVertex2d(R,ly); y+=span;
 | 
	
		
			
				|  |  |      } tnsColor4d(LA_COLOR3(color4),color4[3]*AlphaFactor*AlphaFactor); tnsPackAs(GL_LINES);
 | 
	
		
			
				|  |  | -    y=starty; while(y<ymax){ if((((int)roundf64(y/span))%10)){ y+=span; continue; }
 | 
	
		
			
				|  |  | +    y=starty; while(y<ymax){ if((((int)round(y/span))%10)){ y+=span; continue; }
 | 
	
		
			
				|  |  |          real ly=tnsInterpolate(B,U,tnsGetRatiod(ymin,ymax,y));
 | 
	
		
			
				|  |  |          tnsVertex2d(L,ly);tnsVertex2d(R,ly); y+=span;
 | 
	
		
			
				|  |  |      } tnsColor4d(LA_COLOR3(color4),color4[3]*AlphaFactor); tnsPackAs(GL_LINES);
 |