Skip to content

Static Variables

Math.NEGATIVE_INFINITY

Type

Float

Initial Value

null

Math.NaN

Type

Float

Initial Value

null

Math.PI

Type

Float

Initial Value

null

Math.POSITIVE_INFINITY

Type

Float

Initial Value

null

Math.abs

Type

null

Initial Value

null

Math.acos

Type

null

Initial Value

null

Math.angleDifference

Type

null

Initial Value

null

Math.asin

Type

null

Initial Value

null

Math.atan

Type

null

Initial Value

null

Math.atan2

Type

null

Initial Value

null

Math.calculateSpeed

Type

null

Initial Value

null

Math.calculateXVelocity

Type

null

Initial Value

null

Math.calculateYVelocity

Type

null

Initial Value

null

Math.ceil

Type

null

Initial Value

null

Math.cos

Type

null

Initial Value

null

Math.fastCos

Type

null

Initial Value

null

Math.fastSin

Type

null

Initial Value

null

Math.fastTan

Type

null

Initial Value

null

Math.ffloor

Type

null

Initial Value

null

Math.flipAngleOverXAxis

Type

null

Initial Value

null

Math.flipAngleOverYAxis

Type

null

Initial Value

null

Math.floor

Type

null

Initial Value

null

Math.forceBase360

Type

null

Initial Value

null

Math.fround

Type

null

Initial Value

null

Math.getAngleFromVelocity

Type

null

Initial Value

null

Math.isFinite

Type

null

Initial Value

null

Math.isNaN

Type

null

Initial Value

null

Math.log

Type

null

Initial Value

null

Math.max

Type

null

Initial Value

null

Math.min

Type

null

Initial Value

null

Math.modulo

Type

null

Initial Value

null

Math.pow

Type

null

Initial Value

null

Math.round

Type

null

Initial Value

null

Math.sin

Type

null

Initial Value

null

Math.sqrt

Type

null

Initial Value

null

Math.tan

Type

null

Initial Value

null

Math.toDegrees

Type

null

Initial Value

null

Math.toRadians

Type

null

Initial Value

null

Static Functions

Math.getAngleBetween(center:Point, target:Point):Float

Math.getDistance(point1:Point, point2:Point):Float