Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.MMArray Class Reference

Array helpers. More...

Static Public Member Functions

static int RoundIntToArray (int value, int[] array)
 Rounds an int to the closest int in an array (array has to be sorted)
static float RoundFloatToArray (float value, float[] array)
 Rounds a float to the closest float in an array (array has to be sorted)

Detailed Description

Array helpers.

Member Function Documentation

◆ RoundFloatToArray()

float MoreMountains.Tools.MMArray.RoundFloatToArray ( float value,
float[] array )
static

Rounds a float to the closest float in an array (array has to be sorted)

Parameters
value
array
Returns

◆ RoundIntToArray()

int MoreMountains.Tools.MMArray.RoundIntToArray ( int value,
int[] array )
static

Rounds an int to the closest int in an array (array has to be sorted)

Parameters
value
array
Returns

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