/** * Radians to Degrees */ export function toDeg(rad: number) { return rad * (180 / Math.PI) }