mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 03:56:26 +02:00
Added "white" rng
This commit is contained in:
parent
970de1c093
commit
2bc0315c5b
7 changed files with 34 additions and 5 deletions
|
@ -186,4 +186,18 @@
|
|||
};
|
||||
}
|
||||
};
|
||||
|
||||
scope.white = {
|
||||
name: "white",
|
||||
getRng: function(){
|
||||
return function(){
|
||||
return 255;
|
||||
};
|
||||
},
|
||||
getPixelRng: function(){
|
||||
return function(){
|
||||
return [255, 255, 255, 255];
|
||||
};
|
||||
}
|
||||
};
|
||||
}());
|
Loading…
Add table
Add a link
Reference in a new issue