mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-19 13:01:37 +02:00
refactor
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
function __edge_r_begin(orig_r, a, a_step, m) =
|
||||
(orig_r * cos(a_step / 2)) / cos((m - 0.5) * a_step - a);
|
||||
let(half_a_step = a_step / 2)
|
||||
orig_r * cos(half_a_step) / cos(m * a_step - half_a_step - a);
|
||||
|
||||
function __edge_r_end(orig_r, a, a_step, n) =
|
||||
(orig_r * cos(a_step / 2)) / cos((n + 0.5) * a_step - a);
|
||||
function __edge_r_end(orig_r, a, a_step, n) =
|
||||
let(half_a_step = a_step / 2)
|
||||
orig_r * cos(half_a_step) / cos(n * a_step + half_a_step - a);
|
Reference in New Issue
Block a user