#include <mathhelper.hpp>
|
static int | clampi (int value, int min, int max) |
|
static float | clampf (float value, float min, float max) |
|
static float | roundCeil (float value, int decimal_places) |
|
static float | roundNearest (float value, int decimal_places) |
|
static float | roundFloor (float value, int decimal_places) |
|
Definition at line 35 of file mathhelper.hpp.
static float MathHelper::clampf |
( |
float |
value, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
|
inlinestatic |
static int MathHelper::clampi |
( |
int |
value, |
|
|
int |
min, |
|
|
int |
max |
|
) |
| |
|
inlinestatic |
static float MathHelper::roundCeil |
( |
float |
value, |
|
|
int |
decimal_places |
|
) |
| |
|
inlinestatic |
static float MathHelper::roundFloor |
( |
float |
value, |
|
|
int |
decimal_places |
|
) |
| |
|
inlinestatic |
static float MathHelper::roundNearest |
( |
float |
value, |
|
|
int |
decimal_places |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: