summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/math/vector.scm3
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)