@daeinc/math
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -13,3 +13,3 @@ /** | ||
* | ||
* @param t - Normalized local t 0..1. This is used to sample mapped value. It determines the density or resolution of values. | ||
* @param t - Normalized local t 0..1. This is a sampling position of the mapped value within the range. It determines the density or resolution of values. | ||
* @param radius - Buffer radius on each side. To have different radius on each direction, pass `[back, front]`. (positive float value) | ||
@@ -31,3 +31,3 @@ * @param T - global T 0..1 | ||
* // local t is lerped in 0..1 within buffer as playhead tranvels forward. | ||
* let t = mapRange(i / num, 0.2, 0.2, playhead); | ||
* let t = mapLocalRange(i / num, 0.2, 0.2, playhead); | ||
* // map t (0..1) to desired range (0 -> 1 -> 0) | ||
@@ -34,0 +34,0 @@ * const h = keys.value(t); |
{ | ||
"name": "@daeinc/math", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "Math utilities", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
44203
9
492