mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-10 16:54:23 +02:00
add comment
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
/**
|
||||||
|
* bspline_curve.scad
|
||||||
|
*
|
||||||
|
* @copyright Justin Lin, 2019
|
||||||
|
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||||
|
*
|
||||||
|
* @see https://openhome.cc/eGossip/OpenSCAD/lib2-bspline_curve.html
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
function _bspline_curve_knots(n, degree) =
|
function _bspline_curve_knots(n, degree) =
|
||||||
let(end = n + degree + 1)
|
let(end = n + degree + 1)
|
||||||
[for(i = 0; i < end; i = i + 1) i];
|
[for(i = 0; i < end; i = i + 1) i];
|
||||||
|
Reference in New Issue
Block a user