soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SLinearInterpolator Class Reference

An interpolator where the rate of change is constant. More...

#include <SInterpolatorImpl.h>

Public Member Functions

float getInterpolation (float input) SCONST OVERRIDE
 Gets the interpolated value for the given input.
 

Detailed Description

An interpolator where the rate of change is constant.

Definition at line 16 of file SInterpolatorImpl.h.

Member Function Documentation

◆ getInterpolation()

float SLinearInterpolator::getInterpolation ( float input)

Gets the interpolated value for the given input.

Parameters
inputThe input value between 0 and 1.
Returns
The interpolated value.

Definition at line 14 of file SInterpolatorImpl.cpp.


The documentation for this class was generated from the following files: