diff --git a/README.md b/README.md index a0b0d248..cbdc0158 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp - [trim_shape](https://openhome.cc/eGossip/OpenSCAD/lib3x-trim_shape.html) ### 2D/3D Function +- [angle_between](https://openhome.cc/eGossip/OpenSCAD/lib3x-angle_between.html) - [bezier_surface](https://openhome.cc/eGossip/OpenSCAD/lib3x-bezier_surface.html) - [bezier_smooth](https://openhome.cc/eGossip/OpenSCAD/lib3x-bezier_smooth.html) - [cross_sections](https://openhome.cc/eGossip/OpenSCAD/lib3x-cross_sections.html) @@ -133,7 +134,6 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp - [sphere_spiral_extrude](https://openhome.cc/eGossip/OpenSCAD/lib3x-sphere_spiral_extrude.html) ### Util -- [util/angle_between](https://openhome.cc/eGossip/OpenSCAD/lib3x-angle_between.html) - [util/bsearch](https://openhome.cc/eGossip/OpenSCAD/lib3x-bsearch.html) - [util/choose](https://openhome.cc/eGossip/OpenSCAD/lib3x-choose.html) - [util/dedup](https://openhome.cc/eGossip/OpenSCAD/lib3x-dedup.html) diff --git a/docs/lib3x-angle_between.md b/docs/lib3x-angle_between.md index 599d833b..0aa2c7b8 100644 --- a/docs/lib3x-angle_between.md +++ b/docs/lib3x-angle_between.md @@ -11,7 +11,7 @@ Returns the angle between two vectors. ## Examples - use ; + use ; assert(angle_between([0, 1], [1, 0]) == 90); assert(angle_between([0, 1, 0], [1, 0, 0]) == 90); diff --git a/src/_impl/_bezier_smooth_impl.scad b/src/_impl/_bezier_smooth_impl.scad index 8ff0c56f..b56572d2 100644 --- a/src/_impl/_bezier_smooth_impl.scad +++ b/src/_impl/_bezier_smooth_impl.scad @@ -2,7 +2,7 @@ use <../__comm__/__to3d.scad>; use <../__comm__/__to2d.scad>; use <../__comm__/__angy_angz.scad>; use <../bezier_curve.scad>; -use <../util/angle_between.scad>; +use <../angle_between.scad>; function _corner_ctrl_pts(round_d, p1, p2, p3) = let( diff --git a/src/util/angle_between.scad b/src/angle_between.scad similarity index 100% rename from src/util/angle_between.scad rename to src/angle_between.scad