5 lines
77 B
JavaScript
5 lines
77 B
JavaScript
|
function rad(degrees) {
|
||
|
var pi = Math.PI;
|
||
|
return degrees * (pi / 180);
|
||
|
}
|