Skip to main content

interpolate_curve

Function interpolate_curve 

Source
pub fn interpolate_curve(
    scaling_data: &ItemScalingData,
    curve_id: i32,
    x: f64,
) -> Option<f64>
Expand description

Interpolate a piecewise-linear curve at x; values outside the range clamp to the nearest endpoint.