mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-04-16 21:25:20 +00:00
Fixed edge case optimization in rotate_points3d()
This commit is contained in:
parent
65666ce334
commit
5eab1be429
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ function rotate_points3d(pts, a=0, v=undef, cp=[0,0,0], from=undef, to=undef, re
|
|||
cp = point3d(cp),
|
||||
pts2 = path3d(pts)
|
||||
)
|
||||
(!is_undef(from) && approx(from,to))? pts2 :
|
||||
(!is_undef(from) && approx(from,to) && (a==0 || a == [0,0,0]))? pts2 :
|
||||
let (
|
||||
mrot = reverse? (
|
||||
!is_undef(from)? (
|
||||
|
|
Loading…
Reference in a new issue