Removed "len" argument from lume.pingpong()

This commit is contained in:
rxi
2014-02-27 23:35:07 +00:00
parent 02cdf32bdd
commit 3eec98906b
2 changed files with 5 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ range of 0 - 1; if `amount` is outside of this range it is clamped.
Similar to `lume.lerp()` but uses cosine interpolation instead of linear
interpolation.
### lume.pingpong(x, len)
Ping-pongs the value `x` between 0 and `len`.
### lume.pingpong(x)
Ping-pongs the value `x` between 0 and 1.
### lume.distance(x1, y1, x2, y2)
Returns the distance between the two points.