|
@@ -75,6 +75,18 @@
|
|
|
Converts radians to degrees
|
|
|
</div>
|
|
|
|
|
|
+ <h3>[method:Float lerp]( [page:Float x], [page:Float y], [page:Float t] )</h3>
|
|
|
+ <div>
|
|
|
+ x -- Start point. <br />
|
|
|
+ y -- End point. <br />
|
|
|
+ t -- Closed unit interval from [0,1].
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ Returns a value interpolated from two known points based on the interval.<br/><br/>
|
|
|
+
|
|
|
+ [link:https://en.wikipedia.org/wiki/Linear_interpolation Wikipedia]
|
|
|
+ </div>
|
|
|
+
|
|
|
<h3>[method:Float smoothstep]( [page:Float x], [page:Float min], [page:Float max] )</h3>
|
|
|
<div>
|
|
|
x -- The value to evaluate based on its position between min and max. <br />
|