mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-26 03:51:45 +00:00
commented miscellaneous.ts file
This commit is contained in:
parent
8c2c4f0b25
commit
153c32c9b4
@ -1,3 +1,4 @@
|
|||||||
|
// Convert degrees (0 - 360) into radians (0 - TWO_PI)
|
||||||
export function toRadians(degrees: number): number {
|
export function toRadians(degrees: number): number {
|
||||||
return (degrees / 180) * Math.PI;
|
return (degrees / 180) * Math.PI;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user