Mod Helpers  v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
HamstarHelpers.Helpers.Misc.MathHelpers Class Reference

Assorted static "helper" functions pertaining to math. More...

Static Public Member Functions

static double CosineInterpolate (double y1, double y2, double mu)
 Finds the value of a curved interpolation between 2 values. More...
 

Detailed Description

Assorted static "helper" functions pertaining to math.

Definition at line 8 of file MathHelpers.cs.

Member Function Documentation

◆ CosineInterpolate()

static double HamstarHelpers.Helpers.Misc.MathHelpers.CosineInterpolate ( double  y1,
double  y2,
double  mu 
)
static

Finds the value of a curved interpolation between 2 values.

Parameters
y1
y2
mu
Returns

Definition at line 16 of file MathHelpers.cs.


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