fcc9fc4cb7c2
Fix typo
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Tue, 23 Aug 2016 00:48:04 +0000 |
parents | b6b6000308ea |
children | 4e6bf7dc3093 |
branches/tags | (none) |
files | DOCUMENTATION.markdown package.lisp |
Changes
--- 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)