LERP: Difference between revisions
Removed the TODO
Nikitaivanov (talk | contribs) (Created page with "Linear Interpolation (LERP) returns a value between two others at a point of linear scale. Rotation = From + (To - From) × Amount File:LERP1.png Input: * From: The value to transition from. * To: The value to transition to. * Amount: How far to transition. Output: * Rotation: The value between the From and To input, at a linear scale (defined by Amount input). == Example == The most common use case is to smoothly transition from one rotation to another. Fil...") |
(Removed the TODO) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Linear Interpolation (LERP) returns a | {{Block | ||
|image=LERP.png | |||
|type=s | |||
|folder=math | |||
|input1={{Port|r|From}} | |||
|input2={{Port|r|To}} | |||
|input3={{Port|n|Amount}} | |||
|output1={{Port|r}} | |||
}} | |||
Linear Interpolation (LERP) returns a rotation between From and To at a point of linear scale specified by the Amount. | |||
Rotation = From + (To - From) × Amount | <code>Rotation = From + (To - From) × Amount</code> | ||
See also: [[Linear Interpolation]] | |||
[[Category:Blocks]] | [[Category:Blocks]] |