Home Reference Source Test

Function

Static Public Summary
public

degToRad(deg: number): *

Converts degrees to radians.

public

radToDeg(rad: number): *

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:

NameTypeAttributeDescription
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:

NameTypeAttributeDescription
rad number

A number in radians.

Return:

*