| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -154,7 +154,6 @@ static void update_track_data(UIState *s, bool is_mpc, track_vertices_data *pvd) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const float *mpc_x_coords = &scene->mpc_x[0]; | 
					 | 
					 | 
					 | 
					  const float *mpc_x_coords = &scene->mpc_x[0]; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const float *mpc_y_coords = &scene->mpc_y[0]; | 
					 | 
					 | 
					 | 
					  const float *mpc_y_coords = &scene->mpc_y[0]; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  bool started = false; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  float off = is_mpc?0.3:0.5; | 
					 | 
					 | 
					 | 
					  float off = is_mpc?0.3:0.5; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  float lead_d = scene->lead_data[0].getDRel()*2.; | 
					 | 
					 | 
					 | 
					  float lead_d = scene->lead_data[0].getDRel()*2.; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  float path_height = is_mpc?(lead_d>5.)?fmin(lead_d, 25.)-fmin(lead_d*0.35, 10.):20. | 
					 | 
					 | 
					 | 
					  float path_height = is_mpc?(lead_d>5.)?fmin(lead_d, 25.)-fmin(lead_d*0.35, 10.):20. | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -325,7 +324,6 @@ static void update_all_lane_lines_data(UIState *s, const PathData &path, model_p | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					static void ui_draw_lane(UIState *s, const PathData *path, model_path_vertices_data *pstart, NVGcolor color) { | 
					 | 
					 | 
					 | 
					static void ui_draw_lane(UIState *s, const PathData *path, model_path_vertices_data *pstart, NVGcolor color) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ui_draw_lane_line(s, pstart, color); | 
					 | 
					 | 
					 | 
					  ui_draw_lane_line(s, pstart, color); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  float var = fmin(path->std, 0.7); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  color.a /= 25; | 
					 | 
					 | 
					 | 
					  color.a /= 25; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ui_draw_lane_line(s, pstart + 1, color); | 
					 | 
					 | 
					 | 
					  ui_draw_lane_line(s, pstart + 1, color); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ui_draw_lane_line(s, pstart + 2, color); | 
					 | 
					 | 
					 | 
					  ui_draw_lane_line(s, pstart + 2, color); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |