We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ebe6e commit 918eceaCopy full SHA for 918ecea
1 file changed
examples/geometry.js
@@ -252,6 +252,17 @@ function updateCSG() {
252
253
function randomizeBrushes() {
254
255
+ // function mulberry32(seed) {
256
+ // return function() {
257
+ // let t = (seed += 0x6D2B79F5);
258
+ // t = Math.imul(t ^ (t >>> 15), t | 1);
259
+ // t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
260
+ // return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
261
+ // };
262
+ // }
263
+
264
+ // Math.random = surfaceSampler.randomFunction = mulberry32( 0 );
265
266
for ( let i = 0; i < brushes.length; i ++ ) {
267
268
const b = brushes[ i ];
0 commit comments