Skip to content

Commit

Permalink
fix rotate-vertices when an axis input is float-vector
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmtnt7000 authored and k-okada committed Jun 27, 2023
1 parent 64b08f3 commit 2009d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/geo/geobody.l
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
;move all vertices with respect to this coordinates
;without moving coordinates.
(let (rotmat)
(if (float-vector-p axis) (setq rotmat (rotation rad axis)))
(if (float-vector-p axis) (setq rotmat (rotation-matrix rad axis)))
(dolist (v model-vertices)
(if (float-vector-p axis)
(transform rotmat v v)
Expand Down

0 comments on commit 2009d50

Please sign in to comment.