mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default
This commit is contained in:
		
							parent
							
								
									58c93196d5
								
							
						
					
					
						commit
						9af9b9b35d
					
				
					 20 changed files with 2 additions and 119 deletions
				
			
		|  | @ -33,14 +33,12 @@ bool directions_parallel(double angle1, double angle2, double max_diff) | |||
|     return diff < max_diff || fabs(diff - PI) < max_diff; | ||||
| } | ||||
| 
 | ||||
| #if ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS | ||||
| bool directions_perpendicular(double angle1, double angle2, double max_diff) | ||||
| { | ||||
|     double diff = fabs(angle1 - angle2); | ||||
|     max_diff += EPSILON; | ||||
|     return fabs(diff - 0.5 * PI) < max_diff || fabs(diff - 1.5 * PI) < max_diff; | ||||
| } | ||||
| #endif // ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS
 | ||||
| 
 | ||||
| template<class T> | ||||
| bool contains(const std::vector<T> &vector, const Point &point) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966