Closed poyotamu000 closed 7 months ago
cc: @tkmtnt7000
Maybe the one below is correct?
diff --git a/lisp/geo/geobody.l b/lisp/geo/geobody.l
index d2f3da14..fa035f79 100644
--- a/lisp/geo/geobody.l
+++ b/lisp/geo/geobody.l
@@ -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)
Maybe correct.
16.irteusgl$ load "geobody.l"
t
17.irteusgl$ (setq b (make-cube 10 10 10))
#<body #X563f4d6e2a70 (:cube 10.0 10.0 10.0) 0.0 0.0 0.0 / 0.0 0.0 0.0>
18.irteusgl$ (send b :rotate-vertices pi/2 :z)
#<body #X563f4d6e2a70 (:cube 10.0 10.0 10.0) 0.0 0.0 0.0 / 0.0 0.0 0.0>
19.irteusgl$ (send b :rotate-vertices pi/2 #f(0 0 1))
#<body #X563f4d6e2a70 (:cube 10.0 10.0 10.0) 0.0 0.0 0.0 / 0.0 0.0 0.0>
closed via #500 #504
error message
code