mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-10 08:44:20 +02:00
refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function angle_between_ccw_2d(v1, v2) =
|
||||
let(a = atan2(v1.x * v2.y - v1.y * v2.x, v1 * v2))
|
||||
let(a = atan2(cross(v1, v2), v1 * v2))
|
||||
a >= 0 ? a : a + 360;
|
||||
|
||||
function angle_between_ccw_3d(v1, v2) =
|
||||
|
Reference in New Issue
Block a user