Static Variables
| Field Name | Type | Initial Value | Description |
|---|---|---|---|
| NEGATIVE_INFINITY | Float | null |
|
| NaN | Float | null |
|
| PI | Float | null |
|
| POSITIVE_INFINITY | Float | null |
|
| abs | null | null |
|
| acos | null | null |
|
| angleDifference | null | null |
|
| asin | null | null |
|
| atan | null | null |
|
| atan2 | null | null |
|
| calculateSpeed | null | null |
|
| calculateXVelocity | null | null |
|
| calculateYVelocity | null | null |
|
| ceil | null | null |
|
| cos | null | null |
|
| fastCos | null | null |
|
| fastSin | null | null |
|
| fastTan | null | null |
|
| ffloor | null | null |
|
| flipAngleOverXAxis | null | null |
|
| flipAngleOverYAxis | null | null |
|
| floor | null | null |
|
| forceBase360 | null | null |
|
| fround | null | null |
|
| getAngleFromVelocity | null | null |
|
| isFinite | null | null |
|
| isNaN | null | null |
|
| log | null | null |
|
| max | null | null |
|
| min | null | null |
|
| modulo | null | null |
|
| pow | null | null |
|
| round | null | null |
|
| sin | null | null |
|
| sqrt | null | null |
|
| tan | null | null |
|
| toDegrees | null | null |
|
| toRadians | null | null |
Static Functions
| Function Name | Description |
|---|---|
| getAngleBetween(center:Point, target:Point):Float | |
| getDistance(point1:Point, point2:Point):Float |