Kaynağa Gözat

Fixed OBJLaoder2 docs and updated version to 3.1.0

Kai Salmen 5 yıl önce
ebeveyn
işleme
3ba99c3393

+ 2 - 2
docs/examples/en/loaders/OBJLoader2.html

@@ -65,7 +65,7 @@
 		</p>
 
 
-		<h3>[method:null load]( [param:String url], [param:Function onLoad], [param:Function onProgress], [param:Function onError], [param:Function onMeshAlter], [param:boolean useAsync] )</h3>
+		<h3>[method:null load]( [param:String url], [param:Function onLoad], [param:Function onProgress], [param:Function onError], [param:Function onMeshAlter] )</h3>
 		<p>
 			[page:String url] - A string containing the path/URL of the file to be loaded.<br>
 			[page:Function onLoad] - A function to be called after loading is successfully completed. The function receives loaded [page:Object3D] as an argument.<br>
@@ -88,7 +88,7 @@
 		</p>
 
 
-		<h3>[method:OBJLoader2 setMaterialPerSmoothingGroup] ( [param:boolean materialPerSmoothingGroup] )</h3>
+		<h3>[method:OBJLoader2 addMaterialPerSmoothingGroup] ( [param:boolean materialPerSmoothingGroup] )</h3>
 		<p>
 			[page:boolean materialPerSmoothingGroup]
 		</p>

+ 1 - 1
examples/jsm/loaders/OBJLoader2.js

@@ -40,7 +40,7 @@ const OBJLoader2 = function ( manager ) {
 	this.parser.setCallbackOnAssetAvailable( defaultOnAssetAvailable );
 };
 
-OBJLoader2.OBJLOADER2_VERSION = '3.0.1';
+OBJLoader2.OBJLOADER2_VERSION = '3.1.0';
 console.info( 'Using OBJLoader2 version: ' + OBJLoader2.OBJLOADER2_VERSION );
 
 

+ 1 - 1
examples/jsm/loaders/OBJLoader2Parallel.js

@@ -40,7 +40,7 @@ const OBJLoader2Parallel = function ( manager ) {
 
 };
 
-OBJLoader2Parallel.OBJLOADER2_PARALLEL_VERSION = '3.0.1';
+OBJLoader2Parallel.OBJLOADER2_PARALLEL_VERSION = '3.1.0';
 console.info( 'Using OBJLoader2Parallel version: ' + OBJLoader2Parallel.OBJLOADER2_PARALLEL_VERSION );
 
 

+ 1 - 1
examples/jsm/loaders/obj2/worker/main/WorkerExecutionSupport.js

@@ -127,7 +127,7 @@ const WorkerExecutionSupport = function () {
 	this._reset();
 
 };
-WorkerExecutionSupport.WORKER_SUPPORT_VERSION = '3.0.0';
+WorkerExecutionSupport.WORKER_SUPPORT_VERSION = '3.1.0';
 console.info( 'Using WorkerSupport version: ' + WorkerExecutionSupport.WORKER_SUPPORT_VERSION );