diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-04-17 20:50:36 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-04-17 20:50:36 -0400 |
commit | 3e0bec938cf266e9051dc3b16b7c25bd1dceb2a0 (patch) | |
tree | 568f3963b3055b9edc11b636d6f81f485f5097eb | |
parent | 4586c151ae3dc6c713cd9092cedacb882db15e00 (diff) |
math: vector: Fix export issue.
* sly/math/vector.scm: Replace the 'magnitude' symbol in the default
Guile namespace.
-rw-r--r-- | sly/math/vector.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sly/math/vector.scm b/sly/math/vector.scm index 33c62d8..bd556ea 100644 --- a/sly/math/vector.scm +++ b/sly/math/vector.scm @@ -33,7 +33,8 @@ vector2? vector3? vector4? vx vy vz vw vmap v+ v- v* vdot vcross - magnitude normalize vlerp)) + magnitude normalize vlerp) + #:replace (magnitude)) (define-record-type <vector2> (vector2 x y) |