drawPoly(points, polydata, mode)
	{
		// Check if renderable.
		let render = true;
		if(mode.backcull)
		{
			render = Culler.backface(points, polydata.flipped);
		}
		
		// If the polygon is flipped, invert the render status.
		if(polydata.flipped && mode.backcull)
		{
			render = !render;
		}
		
		// If renderable, render it!
		if(render)
		{
			polydata.texture.transformBlit(points[0], points[1], points[2], points[3]);
		}
	}
// Mode contains mode information such as backcull or zsort in the form of booleans

Mode contains mode information such as backcull or zsort in the form of booleans
Mode contains mode information such as backcull or zsort in the form of booleans
drawPoly(points, polydata, mode)
	{
		let render = true;
		if(mode.backcull)
		{
			render = Culler.backface(points, polydata.flipped);
		}
		if(polydata.flipped && mode.backcull)
		{
			render = !render;
		}
		if(render)
		{
			polydata.texture.transformBlit(points[0], points[1], points[2], points[3]);
		}
	}
drawPoly ( points , polydata , mode ) { let render = true ; if ( mode . backcull ) { render = Culler . backface ( points , polydata . flipped ) ; } if ( polydata . flipped && mode . backcull ) { render = ! render ; } if ( render ) { polydata . texture . transformBlit ( points [ 0 ] , points [ 1 ] , points [ 2 ] , points [ 3 ] ) ; } }
Mode contains mode information such as backcull or zsort in the form of booleans
Mode contains mode information such as backcull or zsort in the form of booleans
// Check if renderable.
 // If the polygon is flipped, invert the render status.
 // If renderable, render it!
