| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -344,7 +344,9 @@ static void ui_draw_world(UIState *s) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const UIScene *scene = &s->scene; | 
					 | 
					 | 
					 | 
					  const UIScene *scene = &s->scene; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  nvgSave(s->vg); | 
					 | 
					 | 
					 | 
					  nvgSave(s->vg); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  nvgScissor(s->vg, s->video_rect.x, s->video_rect.y, s->video_rect.w, s->video_rect.h); | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  // Don't draw on top of sidebar
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  nvgScissor(s->vg, scene->viz_rect.x, scene->viz_rect.y, scene->viz_rect.w, scene->viz_rect.h); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  // Apply transformation such that video pixel coordinates match video
 | 
					 | 
					 | 
					 | 
					  // Apply transformation such that video pixel coordinates match video
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  // 1) Put (0, 0) in the middle of the video
 | 
					 | 
					 | 
					 | 
					  // 1) Put (0, 0) in the middle of the video
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |