Jelajahi Sumber

`setRandomFunction` -> `setRandomGenerator`

Garrett Johnson 4 tahun lalu
induk
melakukan
23d2ca0166
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;