mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 10:14:41 +02:00
add comment
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
/**
|
||||
* flat.scad
|
||||
*
|
||||
* @copyright Justin Lin, 2020
|
||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||
*
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-flat.html
|
||||
*
|
||||
**/
|
||||
|
||||
function flat(lt, depth = 1) =
|
||||
depth == 1 ? [for(row = lt) each row] :
|
||||
[for(row = lt) each flat(row, depth - 1)];
|
Reference in New Issue
Block a user