diff --git a/chop/transform.py b/chop/transform.py index ecbb66d..8c77c71 100644 --- a/chop/transform.py +++ b/chop/transform.py @@ -16,7 +16,7 @@ def rotate(poly: poly_t, theta: float, axis: int) -> poly_t: ''' s, c = sin(theta), cos(theta) v0 = poly['vertices'][:, axis - 2].copy() - v1 = poly['vertices'][:, axis - 1].copy() + v1 = poly['vertices'][:, axis - 1] poly['vertices'][:, axis - 2] = c * v0 - s * v1 poly['vertices'][:, axis - 1] = s * v1 + c * v0 return poly