SDK
/
ly.img.android.pesdk.utils
/
MathUtils
core
MathUtils
object
MathUtils
Content copied to clipboard
Functions
Functions
clamp
Link copied to clipboard
core
fun
clamp
(value:
Double
, min:
Double
, max:
Double
):
Double
Content copied to clipboard
fun
clamp
(value:
Double
, min:
Long
, max:
Long
):
Double
Content copied to clipboard
fun
clamp
(value:
Float
, min:
Float
, max:
Float
):
Float
Content copied to clipboard
fun
clamp
(value:
Float
, min:
Int
, max:
Int
):
Float
Content copied to clipboard
fun
clamp
(value:
Int
, min:
Int
, max:
Int
):
Int
Content copied to clipboard
fun
clamp
(value:
Long
, min:
Long
, max:
Long
):
Long
Content copied to clipboard
equals
Link copied to clipboard
core
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
core
open override fun
hashCode
():
Int
Content copied to clipboard
mapRange
Link copied to clipboard
core
fun
mapRange
(value:
Double
, inMin:
Double
, inMax:
Double
, outMin:
Double
, outMax:
Double
):
Double
Content copied to clipboard
fun
mapRange
(value:
Float
, inMin:
Float
, inMax:
Float
, outMin:
Float
, outMax:
Float
):
Float
Content copied to clipboard
toString
Link copied to clipboard
core
open override fun
toString
():
String
Content copied to clipboard
wrapTo360
Link copied to clipboard
core
fun
wrapTo360
(value:
Double
):
Double
Content copied to clipboard
fun
wrapTo360
(value:
Float
):
Float
Content copied to clipboard
fun
wrapTo360
(value:
Int
):
Int
Content copied to clipboard
fun
wrapTo360
(value:
Long
):
Long
Content copied to clipboard