MathUtils
1 min read • 102 wordsnamespace InitialPrefabs.Collections
Convenience class for MathUtilities.
int CeilToIntDivision(int numerator, int denominator)
Divides two integers and rounds it up to the nearest integer.
| Parameter | Description |
|---|---|
| numerator | The total to divide from. |
| denominator | The total to divide by. |
int - The resulting division operation.
The denominator cannot be 0 unless.
int Min(int a, int b)
Returns the minimum between a or b.
| Parameter | Description |
|---|---|
| a | An integer. |
| b | An integer. |
int - The minimum between a or b.
Go back to API Home