Browse Source

`setRandomFunction` -> `setRandomGenerator`

Garrett Johnson 4 years ago
parent
commit
23d2ca0166
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/math/MeshSurfaceSampler.js

+ 1 - 1
examples/jsm/math/MeshSurfaceSampler.js

@@ -105,7 +105,7 @@ var MeshSurfaceSampler = ( function () {
 
 		},
 
-		setRandomFunction: function ( randomFunction ) {
+		setRandomGenerator: function ( randomFunction ) {
 
 			this.randomFunction = randomFunction;
 			return this;