mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	New get_trapezoids() implementation. Maybe heavier but it doesn't fail with some versions of GCC like the one provided by Boost.Polygon. #1965
This commit is contained in:
		
							parent
							
								
									d4e97d17d5
								
							
						
					
					
						commit
						2720000a17
					
				
					 7 changed files with 79 additions and 4 deletions
				
			
		|  | @ -170,7 +170,7 @@ sub coverage { | |||
|     my $grown = $expolygon->offset_ex(+$self->extrusion_width/2); | ||||
|      | ||||
|     # Compute trapezoids according to a vertical orientation | ||||
|     my $trapezoids = [ map @{$_->get_trapezoids(PI/2)}, @$grown ]; | ||||
|     my $trapezoids = [ map @{$_->get_trapezoids2(PI/2)}, @$grown ]; | ||||
|      | ||||
|     # get anchors and rotate them too | ||||
|     my $anchors = [ map $_->clone, @{$self->_anchors} ]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci