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

add angles_between

This commit is contained in:
Justin Lin
2021-02-09 10:41:58 +08:00
parent e61e564c47
commit a32305148d
2 changed files with 2 additions and 0 deletions

1
src/angles_between.scad Normal file
View File

@@ -0,0 +1 @@
function angles_between(vt1, vt2) = acos((vt1 * vt2) / (norm(vt1) * norm(vt2)));

View File

@@ -10,5 +10,6 @@ dotSCAD 3.0 Dev
New modules/functions
- `angles_between`
- `spherical_coordinate`
- `util/some`