mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
5 lines
132 B
Dart
5 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);
|