1
0
Fork 0

Added utils.rad2deg to core

This commit is contained in:
Joost De Cock 2019-07-11 16:49:02 +02:00
parent afc3c7483b
commit 54be0b691e

View file

@ -351,3 +351,7 @@ export function sampleStyle(run, runs) {
export function deg2rad(degrees) {
return degrees * (Math.PI / 180);
}
export function rad2deg(radians) {
return (radians / Math.PI) * 180;
}