Infinite Runner Engine v1.9
Static Public Member Functions | List of all members
MoreMountains.Tools.MMArray Class Reference

Array helpers More...

Inheritance diagram for MoreMountains.Tools.MMArray:

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) More...
 
static float RoundFloatToArray (float value, float[] array)
 Rounds a float to the closest float in an array (array has to be sorted) More...
 

Detailed Description

Array helpers

Member Function Documentation

◆ RoundFloatToArray()

static 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()

static 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: