diff options
author | David Thompson <dthompson2@worcester.edu> | 2017-01-24 19:52:14 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2017-01-24 20:23:08 -0500 |
commit | 483ea5498e5c18e49a854dda9e9f752b4d7b0dfd (patch) | |
tree | 99d5989b827645656240533f3086b04ff863fa9e | |
parent | 0bf6c483e32b2bdca0cebc40ed9e57001bfefbb4 (diff) |
math: rect: Fix vec2-clamp-to-rect.
* chickadee/math/rect.scm (vec2-clamp-to-rect): s/copy-vec2/vec2-copy/
-rw-r--r-- | chickadee/math/rect.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chickadee/math/rect.scm b/chickadee/math/rect.scm index 08534a5..424614d 100644 --- a/chickadee/math/rect.scm +++ b/chickadee/math/rect.scm @@ -173,7 +173,7 @@ corner is located at (X, Y)." (define (vec2-clamp-to-rect v rect) "Return a new vec2 with the x and y coordinates of the vec2 V restricted so that they are within the bounds of RECT." - (vec2-clamp-to-rect! (copy-vec2 v) rect)) + (vec2-clamp-to-rect! (vec2-copy v) rect)) (define (rect-clamp rect1 rect2) "Return a new rect that adjusts the location of RECT1 so that it is |