mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Corrected link in comment about linearizing squareness in squircle()
This commit is contained in:
parent
6c92e0313a
commit
a2c30affea
@ -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…
x
Reference in New Issue
Block a user