Browse Source

`setRandomFunction` -> `setRandomGenerator`

Garrett Johnson 4 năm trước cách đây
mục cha
commit
23d2ca0166
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;