mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Fix two point area test
This commit is contained in:
		
							parent
							
								
									a56b7400a4
								
							
						
					
					
						commit
						7cf2121b8e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -30,7 +30,7 @@ bool AreaContainsPoint(const std::vector<common::Coordinate>& area, | |||
|                        const common::Coordinate&              point) | ||||
| { | ||||
|    // Cannot have an area with just two points
 | ||||
|    if (area.size() <= 2 || area.size() == 3 && area.front() == area.back()) | ||||
|    if (area.size() <= 2 || (area.size() == 3 && area.front() == area.back())) | ||||
|    { | ||||
|       return false; | ||||
|    } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat