Skip to content

Commit

Permalink
use numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Wardman committed May 8, 2024
1 parent 08ebe11 commit 4f4b13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vedo/transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def rotate(self, angle, axis=(1, 0, 0), point=(0, 0, 0), rad=False) -> Self:
```
![](https://vedo.embl.es/images/feats/rotate_axis.png)
"""
if all(axis == 0):
if np.all(axis == 0):
return self
if not angle:
return self
Expand Down

0 comments on commit 4f4b13d

Please sign in to comment.