1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-10 09:18:52 +01:00
nc-photos/app/lib/math_util.dart

6 lines
132 B
Dart
Raw Normal View History

2022-08-20 13:10:33 +02:00
import 'dart:math' as math;
double degToRad(num deg) => deg * (math.pi / 180);
double radToDeg(num rad) => rad * (180 / math.pi);