Skip to content

Commit

Permalink
Merge branch 'dev' into occ
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag authored Sep 29, 2023
2 parents 55099e3 + 181e04e commit f0947a8
Show file tree
Hide file tree
Showing 1,056 changed files with 3,949 additions and 7,197 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
Expand All @@ -63,7 +63,7 @@ jobs:
CI: ${{ matrix.CI }}
steps:
- name: Git checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
Expand All @@ -89,7 +89,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2
uses: github/codeql-action/init@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
queries: security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2
uses: github/codeql-action/autobuild@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2
uses: github/codeql-action/analyze@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # v2
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/read-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# This runs on the base branch of the PR, meaning "dev"
- name: Git checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
Expand Down
150 changes: 77 additions & 73 deletions build/three.cjs

Large diffs are not rendered by default.

150 changes: 77 additions & 73 deletions build/three.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/three.min.js

Large diffs are not rendered by default.

150 changes: 77 additions & 73 deletions build/three.module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/three.module.min.js

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions docs/api/ar/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ <h1>[name]</h1>
<h2>الوظائف (Methods)</h2>


<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
نفسه عمل Array.prototype.slice ، ولكنه يعمل أيضًا على المصفوفات المكتوبة.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
يحول مصفوفة إلى نوع معين.
Expand Down
4 changes: 2 additions & 2 deletions docs/api/ar/scenes/Fog.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ <h1>[name]</h1>
<h2>مثال للكود</h2>

<code>
const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
</code>

<h2>المنشئ (Constructor)</h2>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/ar/scenes/FogExp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ <h1>[name]</h1>
<h2>مثال للكود</h2>

<code>
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
</code>

<h2>المنشئ (Constructor)</h2>
Expand Down
5 changes: 0 additions & 5 deletions docs/api/en/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ <h1>[name]</h1>

<h2>Methods</h2>

<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
This is the same as Array.prototype.slice, but also works on typed arrays.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>Converts an array to a specific type.</p>

Expand Down
1 change: 1 addition & 0 deletions docs/api/en/core/BufferGeometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ <h3>[property:Object userData]</h3>
<p>
An object that can be used to store custom data about the BufferGeometry.
It should not hold references to functions as these will not be cloned.
Default is an empty object `{}`.
</p>

<h3>[property:String uuid]</h3>
Expand Down
1 change: 1 addition & 0 deletions docs/api/en/core/Object3D.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ <h3>[property:Object userData]</h3>
<p>
An object that can be used to store custom data about the Object3D. It
should not hold references to functions as these will not be cloned.
Default is an empty object `{}`.
</p>

<h3>[property:String uuid]</h3>
Expand Down
1 change: 1 addition & 0 deletions docs/api/en/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ <h3>[property:Object userData]</h3>
<p>
An object that can be used to store custom data about the Material. It
should not hold references to functions as these will not be cloned.
Default is an empty object `{}`.
</p>

<h2>Methods</h2>
Expand Down
5 changes: 3 additions & 2 deletions docs/api/en/scenes/Fog.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ <h1>[name]</h1>

<h2>Code Example</h2>

<code>const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
<code>
const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
</code>

<h2>Constructor</h2>
Expand Down
4 changes: 2 additions & 2 deletions docs/api/en/scenes/FogExp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ <h1>[name]</h1>
<h2>Code Example</h2>

<code>
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
</code>

<h2>Constructor</h2>
Expand Down
1 change: 1 addition & 0 deletions docs/api/en/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ <h3>[property:Object userData]</h3>
<p>
An object that can be used to store custom data about the texture. It
should not hold references to functions as these will not be cloned.
Default is an empty object `{}`.
</p>

<h3>[property:Source source]</h3>
Expand Down
5 changes: 0 additions & 5 deletions docs/api/fr/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ <h1>[name]</h1>
<h2>Méthodes</h2>


<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
Cette méthode est la même que Array.prototype.slice, mais fonctionne également sur les tableaux typés.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
Convertis un tableau en un type spécifique.
Expand Down
5 changes: 0 additions & 5 deletions docs/api/it/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ <h1>[name]</h1>
<h2>Metodi</h2>


<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
È lo stesso di Array.prototype.slice, ma funziona anche su array tipizzati.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
Converte un array in un tipo specifico.
Expand Down
5 changes: 3 additions & 2 deletions docs/api/it/scenes/Fog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ <h1>[name]</h1>

<h2>Codice di Esempio</h2>

<code>const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
<code>
const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
</code>

<h2>Costruttore</h2>
Expand Down
5 changes: 3 additions & 2 deletions docs/api/it/scenes/FogExp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ <h1>[name]</h1>

<h2>Codice di Esempio</h2>

<code>const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
<code>
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
</code>

<h2>Costruttore</h2>
Expand Down
5 changes: 0 additions & 5 deletions docs/api/ko/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ <h1>[name]</h1>
<h2>메서드</h2>


<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
Array.prototype.slice와 동일하지만, 타입 배열에서도 작동합니다.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
배열을 특정 타입으로 변환합니다.
Expand Down
5 changes: 0 additions & 5 deletions docs/api/pt-br/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ <h1>[name]</h1>
<h2>Métodos</h2>


<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
É o mesmo que Array.prototype.slice, mas também funciona em arrays tipados.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
Converte um array em um tipo específico.
Expand Down
5 changes: 0 additions & 5 deletions docs/api/zh/animation/AnimationUtils.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ <h1>[name]</h1>
<h2>方法</h2>


<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
和Array.prototype.slice作用一样, 但也适用于类型化数组.
</p>

<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
将数组转换为某种特定类型。
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/materials/SpriteMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h2>构造函数(Constructor)</h2>
<h3>[name]( [param:Object parameters] )</h3>
<p>
[page:Object parameters] - (可选)用于定义材质外观的对象,具有一个或多个属性。
材质的任何属性都可以从此处传入(包括从[page:Material] 和 [page:ShaderMaterial]继承的任何属性)。<br /><br />
材质的任何属性都可以从此处传入(包括从[page:Material]继承的任何属性)。<br /><br />

属性[page:Hexadecimal color]例外,其可以作为十六进制字符串传递,默认情况下为 *0xffffff*(白色),
内部调用[page:Color.set](color)。
Expand Down
5 changes: 3 additions & 2 deletions docs/api/zh/scenes/Fog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ <h1>雾([name])</h1>

<h2>代码示例</h2>

<code>const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
<code>
const scene = new THREE.Scene();
scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
</code>

<h2>构造器</h2>
Expand Down
5 changes: 3 additions & 2 deletions docs/api/zh/scenes/FogExp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ <h1>雾-指数([name])</h1>

<h2>代码示例</h2>

<code>const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
<code>
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
</code>

<h2>构造器</h2>
Expand Down
5 changes: 5 additions & 0 deletions docs/examples/en/controls/DragControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ <h3>[property:Boolean enabled]</h3>
Whether or not the controls are enabled.
</p>

<h3>[property:Boolean recursive]</h3>
<p>
Whether children of draggable objects can be dragged independently from their parent. Default is `true`.
</p>

<h3>[property:Boolean transformGroup]</h3>
<p>
This option only works if the [page:DragControls.objects] array contains a single draggable group object.
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/en/exporters/EXRExporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ <h3>[method:null parse]( [param:WebGLRenderer renderer], [param:WebGLRenderTarge
Generates a .exr output from the input render target.
</p>

<h3>[method:null parse]( [param:DataTexture dataTexture], [param:Object options] )</h3>
<p>
[page:Function dataTexture] — DataTexture containing data used for exporting EXR image.<br />
[page:Options options] — Export options (details above).<br />
</p>
<p>
Generates a .exr output from the input data texture.
</p>

<h2>Source</h2>

<p>
Expand Down
4 changes: 0 additions & 4 deletions docs/manual/ar/introduction/Installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ <h2>التثبيت من CDN أو استضافة ثابتة</h2>
</p>

<code>
&lt;script async src="https://unpkg.com/es-module-shims@1.8.0/dist/es-module-shims.js">&lt;/script>

&lt;script type="importmap">
{
"imports": {
Expand Down Expand Up @@ -126,8 +124,6 @@ <h2>أمثلة</h2>
</p>

<code>
&lt;script async src="https://unpkg.com/es-module-shims@1.8.0/dist/es-module-shims.js">&lt;/script>

&lt;script type="importmap">
{
"imports": {
Expand Down
4 changes: 1 addition & 3 deletions docs/manual/en/introduction/Installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ <h3>Development</h3>
We imported code from 'three' (an npm package) in <i>main.js</i>, and web browsers don't know what that means. In <i>index.html</i> we'll need to add an [link:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap import map] defining where to get the package. Put the code below inside the <i>&lt;head>&lt/head></i> tag, after the styles.
</p>
<code>
&lt;script async src="https://unpkg.com/es-module-shims@1.8.0/dist/es-module-shims.js">&lt;/script>

&lt;script type="importmap">
{
"imports": {
Expand All @@ -161,7 +159,7 @@ <h3>Development</h3>
&lt;/script>
</code>
<p>
Don't forget to replace <i>&lt;version&gt;</i> with an actual version of three.js, like <i>"v0.149.0"</i>. The most recent version can be found on the [link:https://www.npmjs.com/package/three?activeTab=versions npm version list]. Because import maps are [link:https://caniuse.com/import-maps not yet supported] by some major browsers, we include the polyfill <i>es-module-shims.js</i>.
Don't forget to replace <i>&lt;version&gt;</i> with an actual version of three.js, like <i>"v0.149.0"</i>. The most recent version can be found on the [link:https://www.npmjs.com/package/three?activeTab=versions npm version list].
</p>
</li>
<li>
Expand Down
6 changes: 4 additions & 2 deletions docs/manual/en/introduction/Libraries-and-Plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,17 @@ <h3>Game AI</h3>
<ul>
<li>[link:https://mugen87.github.io/yuka/ yuka]</li>
<li>[link:https://github.com/donmccurdy/three-pathfinding three-pathfinding]</li>
<li>[link:https://github.com/isaac-mason/recast-navigation-js recast-navigation-js]</li>
</ul>

<h3>Wrappers and Frameworks</h3>

<ul>
<li>[link:https://aframe.io/ A-Frame]</li>
<li>[link:https://github.com/pmndrs/react-three-fiber react-three-fiber]</li>
<li>[link:https://lume.io/ Lume] - HTML elements for 3D graphics built on Three.</li>
<li>[link:https://github.com/pmndrs/react-three-fiber react-three-fiber] - React components for 3D graphics built on Three.</li>
<li>[link:https://github.com/ecsyjs/ecsy-three ECSY]</li>
<li>[link:https://threlte.xyz/ Threlte]</li>
<li>[link:https://threlte.xyz/ Threlte] - Svelte components for 3D graphics built on Three.</li>
<li>[link:https://needle.tools/ Needle Engine]</li>
</ul>

Expand Down
Loading

0 comments on commit f0947a8

Please sign in to comment.