From 82f71b0d13788b1cff9a24c5b652effd11631523 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 29 Jun 2022 11:54:24 -0500 Subject: [refactor] [structure] modularized project file structure --- src/utils.lisp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/utils.lisp (limited to 'src/utils.lisp') diff --git a/src/utils.lisp b/src/utils.lisp new file mode 100644 index 0000000..e0f6dcd --- /dev/null +++ b/src/utils.lisp @@ -0,0 +1,9 @@ +;;;; utils.lisp + +(in-package #:wheelwork) + +(define-symbol-macro +pi-over-180+ 0.017453292519943295d0) + +(defun radians (degrees) + "Converse DEGREES to radians" + (* degrees +pi-over-180+)) -- cgit v1.2.3