mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fix numerical issue on Win32
This commit is contained in:
		
							parent
							
								
									2449b22f76
								
							
						
					
					
						commit
						04d2e4124f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -112,7 +112,7 @@ double | |||
| Line::direction() const | ||||
| { | ||||
|     double atan2 = this->atan2_(); | ||||
|     return (atan2 == PI) ? 0 | ||||
|     return (fabs(atan2 - PI) < EPSILON) ? 0 | ||||
|         : (atan2 < 0) ? (atan2 + PI) | ||||
|         : atan2; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci