Function
Static Public Summary | ||
public |
Converts degrees to radians. |
|
public |
Converts radians to degress. |
Static Public
public degToRad(deg: number): * source
import {degToRad} from 'seed-engine/src/utils/MathUtil.js'
Converts degrees to radians.
Params:
Name | Type | Attribute | Description |
deg | number | A number in degrees. |
Return:
* |
public radToDeg(rad: number): * source
import {radToDeg} from 'seed-engine/src/utils/MathUtil.js'
Converts radians to degress.
Params:
Name | Type | Attribute | Description |
rad | number | A number in radians. |
Return:
* |