summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-11-08 07:31:33 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-11-08 07:31:33 -0500
commit02fda236872d690d4dc173268d99acc255b5bdda (patch)
tree7ed065d4a806430fab2f41031513967acf122f8b
parentcb7e515475150fe6aea6517ad0dee59cd7f98b9c (diff)
render: Move mesh module to sly/render directory.
* sly/mesh.scm: Delete. * sly/render/mesh.scm: New file. * Makefile.am (SOURCES): Add new file. Delete old one. * sly/font.scm: Use (sly render mesh). * sly/render/sprite.scm: Likewise. * sly/shape.scm: Likewise.
-rw-r--r--Makefile.am2
-rw-r--r--sly/font.scm2
-rw-r--r--sly/render/mesh.scm (renamed from sly/mesh.scm)2
-rw-r--r--sly/render/sprite.scm2
-rw-r--r--sly/shape.scm2
5 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 994ffc6..fc56f9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,7 +36,6 @@ SOURCES = \
sly/live-reload.scm \
sly/math.scm \
sly/math/vector.scm \
- sly/mesh.scm \
sly/mouse.scm \
sly/quaternion.scm \
sly/rect.scm \
@@ -52,6 +51,7 @@ SOURCES = \
sly/render/utils.scm \
sly/render/camera.scm \
sly/render/framebuffer.scm \
+ sly/render/mesh.scm \
sly/render/texture.scm \
sly/render/shader.scm \
sly/render/sprite.scm \
diff --git a/sly/font.scm b/sly/font.scm
index 26762d5..79fc16f 100644
--- a/sly/font.scm
+++ b/sly/font.scm
@@ -33,7 +33,7 @@
#:use-module (sly wrappers gl)
#:use-module (sly color)
#:use-module (sly config)
- #:use-module (sly mesh)
+ #:use-module (sly render mesh)
#:use-module (sly render shader)
#:use-module (sly render sprite)
#:use-module (sly render texture)
diff --git a/sly/mesh.scm b/sly/render/mesh.scm
index a382256..0222cd5 100644
--- a/sly/mesh.scm
+++ b/sly/render/mesh.scm
@@ -21,7 +21,7 @@
;;
;;; Code:
-(define-module (sly mesh)
+(define-module (sly render mesh)
#:use-module (oop goops)
#:use-module (ice-9 match)
#:use-module (srfi srfi-9)
diff --git a/sly/render/sprite.scm b/sly/render/sprite.scm
index afcb4da..a152b89 100644
--- a/sly/render/sprite.scm
+++ b/sly/render/sprite.scm
@@ -33,7 +33,7 @@
#:use-module (sly agenda)
#:use-module (sly utils)
#:use-module (sly math)
- #:use-module (sly mesh)
+ #:use-module (sly render mesh)
#:use-module (sly render shader)
#:use-module (sly signal)
#:use-module (sly render texture)
diff --git a/sly/shape.scm b/sly/shape.scm
index 6633602..ecacace 100644
--- a/sly/shape.scm
+++ b/sly/shape.scm
@@ -23,7 +23,7 @@
(define-module (sly shape)
#:use-module (sly math)
- #:use-module (sly mesh)
+ #:use-module (sly render mesh)
#:use-module (sly render shader)
#:use-module (sly render texture)
#:use-module (sly math vector)