mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00:00
Corrected link in comment about linearizing squareness in squircle()
This commit is contained in:
parent
6c92e0313a
commit
a2c30affea
1 changed files with 1 additions and 1 deletions
|
@ -2060,7 +2060,7 @@ function squircle_radius(squareness, r, angle) = let(
|
|||
|
||||
function _linearize_squareness(s) =
|
||||
// from Chamberlain Fong (2016). "Squircular Calculations". arXiv.
|
||||
// https://arxiv.org/vc/arxiv/papers/1604/1604.02174v1.pdf
|
||||
// https://arxiv.org/pdf/1604.02174v5
|
||||
let(c = 2 - 2*sqrt(2), d = 1 - 0.5*c*s)
|
||||
2 * sqrt((1+c)*s*s - c*s) / (d*d);
|
||||
|
||||
|
|
Loading…
Reference in a new issue