1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-30 09:49:59 +02:00

add polar_coordinate

This commit is contained in:
Justin Lin
2021-02-09 10:52:17 +08:00
parent 65c2b49696
commit c9565403c3
2 changed files with 4 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ dotSCAD 3.0 Dev
New modules/functions
- `angle_between`
- `polar_coordinate`
- `spherical_coordinate`
- `util/every`
- `util/some`

View File

@@ -0,0 +1,3 @@
use <__comm__/__angy_angz.scad>;
function polar_coordinate(point) = [norm(point), atan2(point[1], point[0])]; // r, theta