Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Clean up. #18867

Merged
merged 1 commit into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/examples/en/loaders/BasisTextureLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ <h1>[name]</h1>
This loader parallelizes the transcoding process across a configurable number
of web workers, before transferring the transcoded compressed texture back
to the main thread. The required WASM transcoder and JS wrapper are available from the
[link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm/libs/basis examples/jsm/libs/basis]
[link:https://github.com/mrdoob/three.js/tree/dev/examples/js/libs/basis examples/js/libs/basis]
directory.
</p>

<h2>Code Example</h2>

<code>
var basisLoader = new BasisTextureLoader();
basisLoader.setTranscoderPath( 'examples/jsm/libs/basis/' );
basisLoader.setTranscoderPath( 'examples/js/libs/basis/' );
basisLoader.detectSupport( renderer );
basisLoader.load( 'diffuse.basis', function ( texture ) {

Expand Down Expand Up @@ -118,7 +118,7 @@ <h3>[method:this setTranscoderPath]( [param:String path] )</h3>
</p>
<p>
The WASM transcoder and JS wrapper are available from the
[link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm/libs/basis examples/jsm/libs/basis]
[link:https://github.com/mrdoob/three.js/tree/dev/examples/js/libs/basis examples/js/libs/basis]
directory.
</p>

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/en/loaders/DRACOLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>Code Example</h2>
var loader = new DRACOLoader();

// Specify path to a folder containing WASM/JS decoding libraries.
loader.setDecoderPath( '/examples/jsm/libs/draco/' );
loader.setDecoderPath( '/examples/js/libs/draco/' );

// Optional: Pre-fetch Draco WASM/JS module.
loader.preload();
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/en/loaders/GLTFLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>Code Example</h2>

// Optional: Provide a DRACOLoader instance to decode compressed mesh data
var dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( '/examples/jsm/libs/draco/' );
dracoLoader.setDecoderPath( '/examples/js/libs/draco/' );
loader.setDRACOLoader( dracoLoader );

// Load a glTF resource
Expand Down Expand Up @@ -187,7 +187,7 @@ <h3>[method:null setDRACOLoader]( [param:DRACOLoader dracoLoader] )</h3>
[page:DRACOLoader dracoLoader] — Instance of THREE.DRACOLoader, to be used for decoding assets compressed with the KHR_draco_mesh_compression extension.
</p>
<p>
Refer to this [link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm/libs/draco#readme readme] for the details of Draco and its decoder.
Refer to this [link:https://github.com/mrdoob/three.js/tree/dev/examples/js/libs/draco#readme readme] for the details of Draco and its decoder.
</p>

<h3>[method:null setDDSLoader]( [param:DDSLoader ddsLoader] )</h3>
Expand Down
6 changes: 3 additions & 3 deletions docs/examples/zh/loaders/BasisTextureLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ <h1>[name]</h1>
This loader parallelizes the transcoding process across a configurable number
of web workers, before transferring the transcoded compressed texture back
to the main thread. The required WASM transcoder and JS wrapper are available from the
[link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm/libs/basis examples/jsm/libs/basis]
[link:https://github.com/mrdoob/three.js/tree/dev/examples/js/libs/basis examples/js/libs/basis]
directory.
</p>

<h2>代码示例</h2>

<code>
var basisLoader = new BasisTextureLoader();
basisLoader.setTranscoderPath( 'examples/jsm/libs/basis/' );
basisLoader.setTranscoderPath( 'examples/js/libs/basis/' );
basisLoader.detectSupport( renderer );
basisLoader.load( 'diffuse.basis', function ( texture ) {

Expand Down Expand Up @@ -118,7 +118,7 @@ <h3>[method:this setTranscoderPath]( [param:String path] )</h3>
</p>
<p>
The WASM transcoder and JS wrapper are available from the
[link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm/libs/basis examples/jsm/libs/basis]
[link:https://github.com/mrdoob/three.js/tree/dev/examples/js/libs/basis examples/js/libs/basis]
directory.
</p>

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/zh/loaders/DRACOLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>代码示例</h2>
var loader = new DRACOLoader();

// Specify path to a folder containing WASM/JS decoding libraries.
loader.setDecoderPath( '/examples/jsm/libs/draco/' );
loader.setDecoderPath( '/examples/js/libs/draco/' );

// Optional: Pre-fetch Draco WASM/JS module.
loader.preload();
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/zh/loaders/GLTFLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>代码示例</h2>

// Optional: Provide a DRACOLoader instance to decode compressed mesh data
var dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( '/examples/jsm/libs/draco/' );
dracoLoader.setDecoderPath( '/examples/js/libs/draco/' );
loader.setDRACOLoader( dracoLoader );

// Load a glTF resource
Expand Down Expand Up @@ -182,7 +182,7 @@ <h3>[method:null setDRACOLoader]( [param:DRACOLoader dracoLoader] )</h3>
[page:DRACOLoader dracoLoader] — THREE.DRACOLoader的实例,用于解码使用KHR_draco_mesh_compression扩展压缩过的文件。
</p>
<p>
请参阅[link:https://github.com/mrdoob/three.js/tree/dev/examples/jsm/libs/draco#readme readme]来了解Draco及其解码器的详细信息。
请参阅[link:https://github.com/mrdoob/three.js/tree/dev/examples/js/libs/draco#readme readme]来了解Draco及其解码器的详细信息。
</p>

<h3>[method:null setDDSLoader]( [param:DDSLoader ddsLoader] )</h3>
Expand Down