--- a/DOCUMENTATION.markdown Tue Aug 23 00:45:49 2016 +0000
+++ b/DOCUMENTATION.markdown Tue Aug 23 00:48:04 2016 +0000
@@ -494,6 +494,18 @@
+### `PRECISE-LERP` (function)
+
+ (PRECISE-LERP FROM TO N)
+
+Lerp together `from` and `to` by factor `n`, precisely.
+
+ Vanilla lerp does not guarantee `(lerp from to 0.0)` will return exactly
+ `from` due to floating-point errors. This version will return exactly `from`
+ when given a `n` of `0.0`, at the cost of an extra multiplication.
+
+
+
### `SQUARE` (function)
(SQUARE X)
--- a/package.lisp Tue Aug 23 00:45:49 2016 +0000
+++ b/package.lisp Tue Aug 23 00:48:04 2016 +0000
@@ -41,7 +41,7 @@
#:dividesp
#:norm
#:lerp
- #:precide-lerp
+ #:precise-lerp
#:map-range
#:clamp))