summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-11-08 07:46:39 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-11-08 07:46:39 -0500
commit232b8b81e91367e8a32361e51df97446ba6f2ae1 (patch)
tree0286b752521b09bf66ccfe80b3c7d4795e031c39
parenta4fd060c95cb19969e69a2d63a217cd82af1978d (diff)
math: Move quaternion module to sly/math directory.
* sly/quaternion.scm: Delete. * sly/math/quaternion.scm: New file. * Makefile.am (SOURCES): Add new file. Delete old one. * sly/transform.scm: Use (sly math quaternion). * sly/transition.scm: Likewise.
-rw-r--r--Makefile.am2
-rw-r--r--sly/math/quaternion.scm (renamed from sly/quaternion.scm)2
-rw-r--r--sly/transform.scm2
-rw-r--r--sly/transition.scm2
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index d7640e3..4f34e98 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,9 +35,9 @@ SOURCES = \
sly/keyboard.scm \
sly/live-reload.scm \
sly/math.scm \
+ sly/math/quaternion.scm \
sly/math/vector.scm \
sly/mouse.scm \
- sly/quaternion.scm \
sly/rect.scm \
sly/repl.scm \
sly/signal.scm \
diff --git a/sly/quaternion.scm b/sly/math/quaternion.scm
index 48ebba4..f07eef1 100644
--- a/sly/quaternion.scm
+++ b/sly/math/quaternion.scm
@@ -21,7 +21,7 @@
;;
;;; Code:
-(define-module (sly quaternion)
+(define-module (sly math quaternion)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-9)
diff --git a/sly/transform.scm b/sly/transform.scm
index 80dd238..865153e 100644
--- a/sly/transform.scm
+++ b/sly/transform.scm
@@ -29,7 +29,7 @@
#:use-module (srfi srfi-42)
#:use-module (sly math)
#:use-module (sly math vector)
- #:use-module (sly quaternion)
+ #:use-module (sly math quaternion)
#:use-module (sly wrappers gsl)
#:export (make-transform null-transform identity-transform
transform? transform-matrix
diff --git a/sly/transition.scm b/sly/transition.scm
index 6871071..53ac4c4 100644
--- a/sly/transition.scm
+++ b/sly/transition.scm
@@ -27,7 +27,7 @@
#:use-module (sly color)
#:use-module (sly coroutine)
#:use-module (sly math)
- #:use-module (sly quaternion)
+ #:use-module (sly math quaternion)
#:use-module (sly signal)
#:use-module (sly math vector)
#:export (ease-linear