1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

add radians degrees

This commit is contained in:
Justin Lin
2021-02-09 10:55:18 +08:00
parent 480eec9a8f
commit 7e3074b676
3 changed files with 4 additions and 0 deletions

1
src/degrees.scad Normal file
View File

@@ -0,0 +1 @@
function degrees(radians) = 180 / PI * radians;

View File

@@ -10,6 +10,8 @@ dotSCAD 3.0 Dev
New modules/functions
- `degrees`
- `radians`
- `angle_between`
- `polar_coordinate`
- `spherical_coordinate`

1
src/radians.scad Normal file
View File

@@ -0,0 +1 @@
function radians(degrees) = PI / 180 * degrees;