Skip to content

Instantly share code, notes, and snippets.

@slyrus
Created October 3, 2018 17:29
Show Gist options
  • Save slyrus/734b024ff6073182cab76510647f3f3d to your computer and use it in GitHub Desktop.
Save slyrus/734b024ff6073182cab76510647f3f3d to your computer and use it in GitHub Desktop.
so I don't forget about this...
modified Core/clim-basic/recording.lisp
@@ -1328,7 +1328,7 @@ were added."
(multiple-value-bind (ex2 ey2)
(normalize-coords (- x xn) (- y yn))
(let* ((cos-a (+ (* ex1 ex2) (* ey1 ey2)))
- (sin-a/2 (sqrt (* 0.5 (- 1.0 cos-a)))))
+ (sin-a/2 (realpart (sqrt (* 0.5 (- 1.0 cos-a))))))
(if (< sin-a/2 sin-limit)
(let ((nx (* border
(max (abs ey1) (abs ey2))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment