class
MathUtil

package haxe.ui.util


read-only
static
MAX_INT:Int
read-only
static
MIN_INT:Int


read-only
static
clamp(v:Null<Float>, min:Null<Float>, max:Null<Float>):Float
read-only
static
distance(x1:Float, y1:Float, x2:Float, y2:Float):Float
read-only
static
max(numbers:Array<Float>):Float
read-only
static
min(numbers:Array<Float>):Float
read-only
static
round(v:Float, precision:Int = 0):Float
read-only
static
roundToNearest(v:Float, n:Float):Float
read-only
static
wrapCircular(v:Float, max:Float):Float