TriEngine
v0.0.16
General-purpose engine in C#/OpenGL
|
Extensions for System.Double. More...
Static Public Member Functions | |
static double | Clamp (this double value, double min, double max) |
Clamps the specified double between a minimum and maximum value. More... | |
Extensions for System.Double.
|
static |
Clamps the specified double between a minimum and maximum value.
value | Value to clamp. |
min | If the specified double is below this value, then this will be returned. |
max | If the specified double is above this value, then this will be returned. |