Array helpers
More...
|
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...
|
|
◆ 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
-
- 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
-
- Returns
The documentation for this class was generated from the following file:
- Assets/CorgiEngine/ThirdParty/MoreMountains/MMTools/Core/MMHelpers/MMArray.cs