method
Math.rad_to_deg
Math.rad_to_deg(radians) -> fixed
Converts an angle from radians to degrees (multiplying by 180/pi) — the inverse of Math.deg_to_rad. Use it to present an internally-radians angle in the degrees a player or designer expects, for a HUD readout or a debug overlay.
Example
program Demo {
handler Step phase Update {
let heading_deg = Math.rad_to_deg(heading)
}
}