mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 08:19:43 +00:00
Fix for idx() and shuffle() docs formatting.
This commit is contained in:
parent
959781d6fe
commit
4a72997fb8
1 changed files with 2 additions and 2 deletions
|
@ -355,7 +355,7 @@ function list_fit(v, length, fill) =
|
|||
let(l=len(v)) (l==length)? v : (l>length)? list_trim(v,length) : list_pad(v,length,fill);
|
||||
|
||||
|
||||
// Function: idx(list)
|
||||
// Function: idx()
|
||||
// Usage:
|
||||
// i = idx(list);
|
||||
// for(i=idx(list)) ...
|
||||
|
@ -390,7 +390,7 @@ function enumerate(l,idx=undef) =
|
|||
[for (i=[0:1:len(l)-1]) concat([i], [for (j=idx) l[i][j]])];
|
||||
|
||||
|
||||
// Function: shuffle(list)
|
||||
// Function: shuffle()
|
||||
// Description:
|
||||
// Shuffles the input list into random order.
|
||||
function shuffle(list) =
|
||||
|
|
Loading…
Reference in a new issue