From abb54935ad9533c5f5dcac81cb631f0eb6e66056 Mon Sep 17 00:00:00 2001 From: jan Date: Tue, 20 Mar 2018 15:44:41 -0700 Subject: [PATCH] remove unneeded copy --- pyr3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyr3d.py b/pyr3d.py index c843d64..c6f6fb8 100644 --- a/pyr3d.py +++ b/pyr3d.py @@ -76,7 +76,7 @@ def split(poly, plane, left_only: bool = False): src_pns = None while edge_walk.size > 0: prev_verts = edge_walk[:, 0] - cur_verts = edge_walk[:, 1].copy() + cur_verts = edge_walk[:, 1] # Get the list of our current neighbors, find which one points to the # vertex we came from, and choose the next (ccw) one