mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Ported ExtrusionLoop->make_counter_clockwise()
This commit is contained in:
		
							parent
							
								
									5d6fd7f4d9
								
							
						
					
					
						commit
						ea1d138c95
					
				
					 4 changed files with 8 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -13,13 +13,4 @@ sub split_at {
 | 
			
		|||
    );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
sub make_counter_clockwise {
 | 
			
		||||
    my $self = shift;
 | 
			
		||||
    if (!$self->polygon->is_counter_clockwise) {
 | 
			
		||||
        $self->reverse;
 | 
			
		||||
        return 1;
 | 
			
		||||
    }
 | 
			
		||||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue