Skip to content

Commit f447807

Browse files
committed
Clean-up instructions.
1 parent c407cfc commit f447807

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The library runs in the browser and as a node.js module as well.
1313

1414
You will need two files: `assimpjs.js` and `assimpjs.wasm`. The wasm file is loaded runtime by the js file.
1515

16-
Given that browsers don't access the file system, you should provide all the files needed for import. Some 3D formats are coming in multiple files, so you should list all of them to import the model properly. The main file to import should always be the first one in the list.
16+
Given that browsers don't access the file system, you should provide all the files needed for import. Some 3D formats are coming in multiple files, so you should list all of them to import the model properly.
1717

1818
You should provide two things for every file:
1919
- **name:** The name of the file. It's used if files are referring to each other.

examples/browser_download_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
let resultDiv = document.getElementById ('result_json');
1414

1515
assimpjs ().then (function (ajs) {
16-
// fetch the files to import (make sure that the main file is the first)
16+
// fetch the files to import
1717
let files = [
1818
'testfiles/cube_with_materials.obj',
1919
'testfiles/cube_with_materials.mtl'

examples/node_local_load_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ assimpjs.then ((ajs) => {
55
// create new file list object
66
let fileList = new ajs.FileList ();
77

8-
// add model files (make sure that the main file is the first)
8+
// add model files
99
fileList.AddFile (
1010
'cube_with_materials.obj',
1111
fs.readFileSync ('testfiles/cube_with_materials.obj')

0 commit comments

Comments
 (0)