nn::math::Hermite Function

Syntax

f32 Hermite(
     f32 v0,
     f32 t0,
     f32 v1,
     f32 t1,
     f32 s
);

Arguments

Name Description
in v0 Value at point 1.
in t0 Slope at point 1.
in v1 Value at point 2.
in t1 Slope at point 2.
in s Interpolation target position. (Point 1:0.0~1.0:Point 2)

Return Values

Value of interpolated result.

Description

Performs Hermite interpolation.


CONFIDENTIAL