mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 05:21:38 +02:00
add comment
This commit is contained in:
@@ -1,2 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* reverse.scad
|
||||||
|
*
|
||||||
|
* @copyright Justin Lin, 2019
|
||||||
|
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||||
|
*
|
||||||
|
* @see https://openhome.cc/eGossip/OpenSCAD/lib2-rand.html
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
function rand(min_value = 0, max_value = 1, seed_value) =
|
function rand(min_value = 0, max_value = 1, seed_value) =
|
||||||
is_undef(seed_value) ? rands(min_value, max_value , 1)[0] : rands(min_value, max_value , 1, seed_value)[0];
|
is_undef(seed_value) ? rands(min_value, max_value , 1)[0] : rands(min_value, max_value , 1, seed_value)[0];
|
Reference in New Issue
Block a user