animate/Catalogue/Scripts/degToRad.js

5 lines
77 B
JavaScript
Raw Normal View History

2022-03-15 07:33:34 +00:00
function rad(degrees) {
var pi = Math.PI;
return degrees * (pi / 180);
}