commented miscellaneous.ts file

This commit is contained in:
waltem01 2022-08-07 19:41:36 +02:00
parent 8c2c4f0b25
commit 153c32c9b4

View File

@ -1,3 +1,4 @@
// Convert degrees (0 - 360) into radians (0 - TWO_PI)
export function toRadians(degrees: number): number {
return (degrees / 180) * Math.PI;
}