mirror of
				https://github.com/jhasse/poly2tri.git
				synced 2025-11-04 06:09:31 +01:00 
			
		
		
		
	fixed SweepContext ctor
This commit is contained in:
		
				
					committed by
					
						
						Jan Niklas Hasse
					
				
			
			
				
	
			
			
			
						parent
						
							e662a5c446
						
					
				
				
					commit
					91d1203c3a
				
			@@ -34,7 +34,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace p2t {
 | 
					namespace p2t {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline)
 | 
					SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline),
 | 
				
			||||||
 | 
					  front_(0),
 | 
				
			||||||
 | 
					  head_(0),
 | 
				
			||||||
 | 
					  tail_(0),
 | 
				
			||||||
 | 
					  af_head_(0),
 | 
				
			||||||
 | 
					  af_middle_(0),
 | 
				
			||||||
 | 
					  af_tail_(0)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  InitEdges(points_);
 | 
					  InitEdges(points_);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user