remove clamp_to_box
This commit is contained in:
parent
1473633a11
commit
523db814f8
1 changed files with 0 additions and 8 deletions
|
|
@ -79,11 +79,3 @@ def voxelize(poly: poly_t,
|
||||||
stack.append((poly_right, slices_right))
|
stack.append((poly_right, slices_right))
|
||||||
return dest_grid
|
return dest_grid
|
||||||
|
|
||||||
|
|
||||||
def clamp_to_box(poly: poly_t,
|
|
||||||
box: numpy.ndarray,
|
|
||||||
) -> poly_t:
|
|
||||||
for face in planes_from_box(box):
|
|
||||||
poly = clip(poly, face)
|
|
||||||
return poly
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue