mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 09:16:19 +01:00
6 lines
132 B
Dart
6 lines
132 B
Dart
|
import 'dart:math' as math;
|
||
|
|
||
|
double degToRad(num deg) => deg * (math.pi / 180);
|
||
|
|
||
|
double radToDeg(num rad) => rad * (180 / math.pi);
|