language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | mrdoob | three.js | c495c47aec3772484a0b0c6acc8499a62157568f.json | fix matrix.lookAt parameter document (#22969)
Co-authored-by: webglzhang <49345883@qq.com> | docs/api/zh/math/Matrix4.html | @@ -187,9 +187,9 @@ <h3>[method:Float getMaxScaleOnAxis]()</h3>
<h3>[method:this identity]()</h3>
<p>将当前矩阵重置为单位矩阵[link:https://en.wikipedia.org/wiki/Identity_matrix identity matrix]。</p>
- <h3>[method:this lookAt]( [param:Vector3 eye], [param:Vector3 center], [param:Vector3 up], )</h3>
+ <h3>[method:this look... | true |
Other | mrdoob | three.js | 384d1e9ac9c2d4f7b3e9f43ad980f2c5b915de92.json | Add Unittests to WEBGLExtensions (#22939)
* Add alliasses in WEBGLEntensions + Unittests
* revert webgl extensions change without aliases
* use || instead of ?? becuase of older version. | test/unit/src/renderers/webgl/WebGLExtensions.tests.js | @@ -2,23 +2,94 @@
import { WebGLExtensions } from '../../../../../src/renderers/webgl/WebGLExtensions';
+const WebglContextMock = function ( supportedExtensions ) {
+
+ this.supportedExtensions = supportedExtensions || [];
+ this.getExtension = function ( name ) {
+
+ if ( this.supportedExtensions.indexOf( name )... | false |
Other | mrdoob | three.js | ee537cc4d1af276ae48f45896c59e761926f1eca.json | fix getObjectByProperty docs (#21953)
* fix getObjectByProperty docs
* fix getObjectByProperty docs (zh)
* fix getObjectByProperty docs (ko) | docs/api/en/core/Object3D.html | @@ -258,7 +258,7 @@ <h3>[method:Object3D getObjectByName]( [param:String name] )</h3>
have to set it manually to make use of this method.
</p>
- <h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
+ <h3>[method:Object3D getObjectByProperty]( [param:String name], [param:a... | true |
Other | mrdoob | three.js | ee537cc4d1af276ae48f45896c59e761926f1eca.json | fix getObjectByProperty docs (#21953)
* fix getObjectByProperty docs
* fix getObjectByProperty docs (zh)
* fix getObjectByProperty docs (ko) | docs/api/ko/core/Object3D.html | @@ -247,7 +247,7 @@ <h3>[method:Object3D getObjectByName]( [param:String name] )</h3>
대부분의 객체는 기본값으로 이름이 빈 문자열입니다. 이 메서드를 사용하기 위해서는 직접 이름을 지정해야 합니다.
</p>
- <h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
+ <h3>[method:Object3D getObjectByProperty]( [param:String name... | true |
Other | mrdoob | three.js | ee537cc4d1af276ae48f45896c59e761926f1eca.json | fix getObjectByProperty docs (#21953)
* fix getObjectByProperty docs
* fix getObjectByProperty docs (zh)
* fix getObjectByProperty docs (ko) | docs/api/zh/core/Object3D.html | @@ -247,7 +247,7 @@ <h3>[method:Object3D getObjectByName]( [param:String name] )</h3>
请注意,大多数的对象中name默认是一个空字符串,要使用这个方法,你将需要手动地设置name属性。
</p>
- <h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
+ <h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any va... | true |
Other | mrdoob | three.js | 18161943379b7f77b4b85b139f8f6a0f99c13244.json | Update package.json (#21956) | package-lock.json | @@ -1,27 +1,27 @@
{
"name": "three",
- "version": "0.128.0",
+ "version": "0.129.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "three",
- "version": "0.128.0",
+ "version": "0.129.0",
"license": "MIT",
"devDependencies": {
"@babel/cor... | true |
Other | mrdoob | three.js | 18161943379b7f77b4b85b139f8f6a0f99c13244.json | Update package.json (#21956) | package.json | @@ -88,6 +88,7 @@
"webgl",
"webgl2",
"webaudio",
+ "webgpu",
"webxr",
"canvas",
"svg",
@@ -101,18 +102,18 @@
"homepage": "https://threejs.org/",
"devDependencies": {
"@babel/core": "^7.14.3",
- "@babel/eslint-parser": "^7.14.3",
+ "@babel/eslint-parser": "^7.14.4",
... | true |
Other | mrdoob | three.js | d9f39de84a1581a619554cfc57cf625ea6c9201b.json | Update revision constant (#21941) | src/constants.js | @@ -1,4 +1,4 @@
-export const REVISION = '129';
+export const REVISION = '130dev';
export const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
export const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
export const CullFaceNone = 0; | false |
Other | mrdoob | three.js | 2843ac67b35afd52437b6defa598cb31fe8e87d3.json | Add tags for example with stats panel (#21908) | examples/tags.json | @@ -27,6 +27,7 @@
"webgl_layers": [ "groups" ],
"webgl_lights_hemisphere": [ "directional" ],
"webgl_lights_pointlights": [ "multiple" ],
+ "webgl_lines_fat": [ "gpu", "stats", "panel" ],
"webgl_loader_ttf": [ "text", "font" ],
"webgl_loader_pdb": [ "molecules", "css2d" ],
"webgl_lod": [ "level", "details" ... | false |
Other | mrdoob | three.js | 3c16ded83fcf2224ad7345777502a2adfbb6cec7.json | Ignore scale of light.matrixWorld (#21848) | examples/js/helpers/RectAreaLightHelper.js | @@ -50,9 +50,10 @@
if ( max > 1 ) c.multiplyScalar( 1 / max );
this.children[ 0 ].material.color.copy( this.material.color );
- }
+ } // ignore world scale on light
- this.matrixWorld.copy( this.light.matrixWorld ).scale( this.scale );
+
+ this.matrixWorld.extractRotation( this.light.matrixWorld )... | true |
Other | mrdoob | three.js | 3c16ded83fcf2224ad7345777502a2adfbb6cec7.json | Ignore scale of light.matrixWorld (#21848) | examples/jsm/helpers/RectAreaLightHelper.js | @@ -64,7 +64,9 @@ class RectAreaLightHelper extends Line {
}
- this.matrixWorld.copy( this.light.matrixWorld ).scale( this.scale );
+ // ignore world scale on light
+ this.matrixWorld.extractRotation( this.light.matrixWorld ).scale( this.scale ).copyPosition( this.light.matrixWorld );
+
this.children[ 0 ].... | true |
Other | mrdoob | three.js | 0321aa7e4d436635e3a570cdb76d735061259acf.json | Use srgb output in the svg example (#23280) | examples/webgl_loader_svg.html | @@ -58,6 +58,7 @@
renderer = new THREE.WebGLRenderer( { antialias: true } );
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
+ renderer.outputEncoding = THREE.sRGBEncoding;
container.appendChild( renderer.domElement );
//
@@ -16... | false |
Other | mrdoob | three.js | 1ac4861a567490fbcdeb5d5c63a056079aebe334.json | fix duplicate importmap (#23282) | examples/webgl_materials_instance_uniform_nodes.html | @@ -11,13 +11,6 @@
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - webgl material instance uniform
</div>
- <script type="importmap">
- {
- "imports": {
- "three": "../build/three.module.js"
- }
- }
- </script>
<!-- Import maps polyfill -->
<!-- Remove this when imp... | true |
Other | mrdoob | three.js | 1ac4861a567490fbcdeb5d5c63a056079aebe334.json | fix duplicate importmap (#23282) | examples/webgl_materials_standard_nodes.html | @@ -13,13 +13,6 @@
<a href="http://www.polycount.com/forum/showthread.php?t=130641" target="_blank" rel="noopener">Cerberus(FFVII Gun) model</a> by Andrew Maximov.
</div>
- <script type="importmap">
- {
- "imports": {
- "three": "../build/three.module.js"
- }
- }
- </script>
<!-- Import maps poly... | true |
Other | mrdoob | three.js | 1ac4861a567490fbcdeb5d5c63a056079aebe334.json | fix duplicate importmap (#23282) | examples/webgl_points_nodes.html | @@ -12,13 +12,6 @@
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - webgl node particles example
</div>
- <script type="importmap">
- {
- "imports": {
- "three": "../build/three.module.js"
- }
- }
- </script>
<!-- Import maps polyfill -->
<!-- Remove this when import... | true |
Other | mrdoob | three.js | 34d2344c00fe87fcd2233d9632786312a80d9a86.json | Update Installation.html (#23277)
* Update Installation.html
Added mandatory parameters to OrbitControls
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Update Installation.html | docs/manual/ar/introduction/Installation.html | @@ -115,7 +115,7 @@ <h2>أمثلة</h2>
<code>
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
- const controls = new OrbitControls();
+ const controls = new OrbitControls( camera, renderer.domElement );
</code>
<p>
@@ -129,7 +129,7 @@ <h2>أمثلة</h2>
import { OrbitContr... | true |
Other | mrdoob | three.js | 34d2344c00fe87fcd2233d9632786312a80d9a86.json | Update Installation.html (#23277)
* Update Installation.html
Added mandatory parameters to OrbitControls
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Update Installation.html | docs/manual/en/introduction/Installation.html | @@ -97,7 +97,7 @@ <h2>Examples</h2>
<code>
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
- const controls = new OrbitControls();
+ const controls = new OrbitControls( camera, renderer.domElement );
</code>
<p>
@@ -111,7 +111,7 @@ <h2>Examples</h2>
import { OrbitC... | true |
Other | mrdoob | three.js | 34d2344c00fe87fcd2233d9632786312a80d9a86.json | Update Installation.html (#23277)
* Update Installation.html
Added mandatory parameters to OrbitControls
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Update Installation.html | docs/manual/ja/introduction/Installation.html | @@ -99,7 +99,7 @@ <h2>Examples</h2>
<code>
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
- const controls = new OrbitControls();
+ const controls = new OrbitControls( camera, renderer.domElement );
</code>
<p>
@@ -113,7 +113,7 @@ <h2>Examples</h2>
// redirect t... | true |
Other | mrdoob | three.js | 34d2344c00fe87fcd2233d9632786312a80d9a86.json | Update Installation.html (#23277)
* Update Installation.html
Added mandatory parameters to OrbitControls
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Update Installation.html | docs/manual/ko/introduction/Installation.html | @@ -112,7 +112,7 @@ <h2>예제</h2>
<code>
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
- const controls = new OrbitControls();
+ const controls = new OrbitControls( camera, renderer.domElement );
</code>
<p>
@@ -126,7 +126,7 @@ <h2>예제</h2>
import { OrbitControl... | true |
Other | mrdoob | three.js | 34d2344c00fe87fcd2233d9632786312a80d9a86.json | Update Installation.html (#23277)
* Update Installation.html
Added mandatory parameters to OrbitControls
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Update Installation.html | docs/manual/zh/introduction/Installation.html | @@ -97,7 +97,7 @@ <h2>示例</h2>
<code>
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
- const controls = new OrbitControls();
+ const controls = new OrbitControls( camera, renderer.domElement );
</code>
<p>
@@ -111,7 +111,7 @@ <h2>示例</h2>
import { OrbitControls } fr... | true |
Other | mrdoob | three.js | 25915112ac53f9b329ea1e1989285873803d456e.json | Update WebGL1Renderer.html (#23239)
Supplementary translation | docs/api/zh/renderers/WebGL1Renderer.html | @@ -17,7 +17,7 @@ <h1>[name]</h1>
<ul>
<li>自定义着色器代码必须符合GLSL 3.0。</li>
- <li>WebGL 1 extension checks have to be changed.</li>
+ <li>WebGL 1扩展检查到被更改</li>
</ul>
如果你不能够花时间来升级你的代码,但仍然想要使用最新版本,那你就可以使用[name]。 | false |
Other | mrdoob | three.js | 40de5a9c99eea7f1952e13c4aaf18f9cf8d96abc.json | Move generate() to construct() (#24823) | examples/jsm/nodes/utils/MatcapUVNode.js | @@ -9,14 +9,12 @@ class MatcapUVNode extends TempNode {
}
- generate( builder ) {
+ construct() {
const x = normalize( vec3( positionViewDirection.z, 0, negate( positionViewDirection.x ) ) );
const y = cross( positionViewDirection, x );
- const uv = add( mul( vec2( dot( x, transformedNormalView ), dot(... | true |
Other | mrdoob | three.js | 40de5a9c99eea7f1952e13c4aaf18f9cf8d96abc.json | Move generate() to construct() (#24823) | examples/jsm/nodes/utils/SpriteSheetUVNode.js | @@ -18,38 +18,36 @@ class SpriteSheetUVNode extends Node {
}
- generate( builder ) {
+ construct() {
- const count = this.countNode;
- const uv = this.uvNode;
- const frame = this.frameNode;
+ const { frameNode, uvNode, countNode } = this;
const one = new ConstNode( 1 );
- const width = new SplitNod... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Box2.html | @@ -0,0 +1,211 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Rappresenta un bounding box (rettangolo d... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Box3.html | @@ -0,0 +1,310 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Rappresenta un bounding box (rettangolo d... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Color.html | @@ -0,0 +1,321 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Classe che rappresenta un colore.
+ </p>... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Cylindrical.html | @@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ [link:https://en.wikipedia.org/wiki/Cylind... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Euler.html | @@ -0,0 +1,161 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Una classe che rappresenta gli [link:http... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Frustum.html | @@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Il [link:http://en.wikipedia.org/wiki/Fru... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Interpolant.html | @@ -0,0 +1,80 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Classe base astratta di interpolanti su ca... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Line3.html | @@ -0,0 +1,118 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">Un segmento di linea geometrico rappresentato ... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/MathUtils.html | @@ -0,0 +1,161 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">Un oggetto con molte funzioni matematiche di u... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Matrix3.html | @@ -0,0 +1,208 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Una classe che rappresenta una [link:http... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Matrix4.html | @@ -0,0 +1,418 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Una classe che rappresenta una [link:http... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Plane.html | @@ -0,0 +1,181 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Una superficie bidimensionale che si este... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Quaternion.html | @@ -0,0 +1,264 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Implementazione di un [link:http://en.wik... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Ray.html | @@ -0,0 +1,210 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Un raggio che parte da un'origine e si di... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Sphere.html | @@ -0,0 +1,160 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">Una sfera definita da un centro e un raggio.</... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Spherical.html | @@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">Le [link:https://en.wikipedia.org/wiki/Spherica... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/SphericalHarmonics3.html | @@ -0,0 +1,145 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Rappresenta un'armonica sferica del terzo... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Triangle.html | @@ -0,0 +1,171 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Un triangolo geometrico definito da tre [... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Vector2.html | @@ -0,0 +1,354 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Classe che rappresenta un [link:https://e... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Vector3.html | @@ -0,0 +1,467 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Classe che rappresenta un [link:https://e... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/Vector4.html | @@ -0,0 +1,348 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ <h1>[name]</h1>
+
+ <p class="desc">
+ Classe che rappresenta un [link:https://e... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/interpolants/CubicInterpolant.html | @@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ [page:Interpolant] →
+
+ <h1>[name]</h1>
+
+ <p class="desc">
+
+ </p>
+
... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/interpolants/DiscreteInterpolant.html | @@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ [page:Interpolant] →
+
+ <h1>[name]</h1>
+
+ <p class="desc">
+
+ </p>
+
... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/interpolants/LinearInterpolant.html | @@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ [page:Interpolant] →
+
+ <h1>[name]</h1>
+
+ <p class="desc">
+
+ </p>
+
... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/api/it/math/interpolants/QuaternionLinearInterpolant.html | @@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<html lang="it">
+ <head>
+ <meta charset="utf-8" />
+ <base href="../../../../" />
+ <script src="page.js"></script>
+ <link type="text/css" rel="stylesheet" href="page.css" />
+ </head>
+ <body>
+ [page:Interpolant] →
+
+ <h1>[name]</h1>
+
+ <p class="desc">
+
+ </p>
+
... | true |
Other | mrdoob | three.js | 16274d63e89efd39581c3fe7ef6a6d0462d87f2a.json | Add Math italian version (#24782) | docs/list.json | @@ -1348,6 +1348,37 @@
"ShaderMaterial": "api/it/materials/ShaderMaterial",
"ShadowMaterial": "api/it/materials/ShadowMaterial",
"SpriteMaterial": "api/it/materials/SpriteMaterial"
+ },
+
+ "Math": {
+ "Box2": "api/it/math/Box2",
+ "Box3": "api/it/math/Box3",
+ "Color": "api/it/math/Color",
... | true |
Other | mrdoob | three.js | 9d61d1f074d87de307845ffcc15616ddcb8020d1.json | Update CSM example original repo link (#24737) | examples/webgl_shadowmap_csm.html | @@ -11,7 +11,7 @@
<div id="container"></div>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - cascaded shadow maps<br>
- by <a href="https://github.com/vHawk" target="_blank" rel="noopener">vHawk</a> (<a href="https://github.com/vHawk/three-csm" target="_blan... | false |
Other | mrdoob | three.js | 13de3926a57ddfa17320f19e4fe339fc8f23de4f.json | remove double constructor header (#24734) | docs/api/en/math/Interpolant.html | @@ -24,10 +24,6 @@ <h1>[name]</h1>
References: [link:http://www.oodesign.com/template-method-pattern.html http://www.oodesign.com/template-method-pattern.html]
</p>
-
- <h2>Constructor</h2>
-
-
<h2>Constructor</h2>
<h3>[name]( parameterPositions, sampleValues, sampleSize, resultBuffer )</h3> | false |
Other | mrdoob | three.js | 6ccec8f4154279b575255d17c3c729fcbb439ec3.json | Remove "copy" function override (#21782) | examples/jsm/lines/LineGeometry.js | @@ -80,14 +80,6 @@ class LineGeometry extends LineSegmentsGeometry {
}
- copy( /* source */ ) {
-
- // todo
-
- return this;
-
- }
-
}
LineGeometry.prototype.isLineGeometry = true; | false |
Other | mrdoob | three.js | 2c4910f74943c56843519ed08555aea36172751b.json | add fog tag to webgl_geometry_terrain (#21736) | examples/tags.json | @@ -10,6 +10,7 @@
"webgl_geometry_colors_lookuptable": [ "vertex" ],
"webgl_geometry_nurbs": [ "curve", "surface" ],
"webgl_geometry_spline_editor": [ "curve" ],
+ "webgl_geometry_terrain": [ "fog" ],
"webgl_geometry_text": [ "font" ],
"webgl_geometry_text_shapes": [ "font" ],
"webgl_geometry_text_stroke": ... | false |
Other | mrdoob | three.js | d04f3f0677f8663e144bae02cddc7dcdf1a164bb.json | Add SetPath to XRHandModelFactory | examples/jsm/webxr/XRHandModelFactory.js | @@ -42,12 +42,22 @@ XRHandModel.prototype = Object.assign( Object.create( Object3D.prototype ), {
var XRHandModelFactory = ( function () {
- function XRHandModelFactory() {}
+ function XRHandModelFactory() {
+
+ this.path = '';
+
+ }
XRHandModelFactory.prototype = {
constructor: XRHandModelFactory,
+ ... | true |
Other | mrdoob | three.js | d04f3f0677f8663e144bae02cddc7dcdf1a164bb.json | Add SetPath to XRHandModelFactory | examples/jsm/webxr/XRHandOculusMeshModel.js | @@ -2,7 +2,7 @@ import { FBXLoader } from "../loaders/FBXLoader.js";
class XRHandOculusMeshModel {
- constructor( handModel, controller, handedness, options ) {
+ constructor( handModel, controller, path, handedness, options ) {
this.controller = controller;
this.handModel = handModel;
@@ -11,7 +11,8 @@ cl... | true |
Other | mrdoob | three.js | d04f3f0677f8663e144bae02cddc7dcdf1a164bb.json | Add SetPath to XRHandModelFactory | examples/jsm/webxr/XRHandPrimitiveModel.js | @@ -8,7 +8,7 @@ import {
class XRHandPrimitiveModel {
- constructor( handModel, controller, handedness, options ) {
+ constructor( handModel, controller, path, handedness, options ) {
this.controller = controller;
this.handModel = handModel; | true |
Other | mrdoob | three.js | d04f3f0677f8663e144bae02cddc7dcdf1a164bb.json | Add SetPath to XRHandModelFactory | examples/webxr_vr_handinput_profiles.html | @@ -92,7 +92,7 @@
container.appendChild( renderer.domElement );
- document.body.appendChild( VRButton.createButton( renderer ) );
+ document.body.appendChild( VRButton.createButton( renderer, { handTracking: true } ) );
// controllers
@@ -104,6 +104,7 @@
var controllerModelFactory = new X... | true |
Other | mrdoob | three.js | 604a9118e27df51d6b609e58e2161a4dfc609ba5.json | remove LGTM error (#23161) | docs/scenes/geometry-browser.html | @@ -701,7 +701,7 @@
if ( guis[ selectedGeometry ] !== undefined ) {
- document.getElementById( 'newWindow' ).href += window.location.hash;
+ document.getElementById( 'newWindow' ).href += '#' + selectedGeometry;
}
| false |
Other | mrdoob | three.js | 9c3b8dd8d21f49ea9039fd5d9251479061e70f5a.json | add lgtm config (#23062)
* add lgtm config
* move to root
* update lgtm file
* update lgtm config
* add better classifiers | .lgtm.yml | @@ -0,0 +1,13 @@
+path_classifiers:
+ library:
+ - "editor/js/libs/**/*.*"
+ - "examples/jsm/libs/**/*.*"
+ - "examples/js/libs/**/*.*"
+ - "examples/jsm/loaders/ifc/**/*.*"
+ - "examples/js/loaders/ifc/**/*.*"
+ test:
+ - exclude: /
+ docs:
+ - exclude: /
+ generated:
+ - "build/*.*"
\ No ... | false |
Other | mrdoob | three.js | 961d5caad5d0baa68588c6e351ad80aa662f4cde.json | fix typos (#24513) | docs/api/zh/math/MathUtils.html | @@ -75,7 +75,7 @@ <h3>[method:Float mapLinear]( [param:Float x], [param:Float a1], [param:Float a2
[page:Float a1] — A区间最小值。<br />
[page:Float a2] — A区间最大值。<br />
[page:Float b1] — B区间最小值。<br />
- [page:Float b2] — A区间最大值。<br /><br />
+ [page:Float b2] — B区间最大值。<br /><br />
x从范围[[page:Float a1], [page:F... | false |
Other | mrdoob | three.js | 1995a1e7b891e1270992402b50e41247dedb2a1b.json | Fix the result of the "set" function. (#24511) | src/core/BufferAttribute.js | @@ -311,9 +311,12 @@ class BufferAttribute {
set( value, offset = 0 ) {
- if ( this.normalized ) value = normalize( value, this.array );
+ const array = this.array;
+ const normalized = this.normalized;
+
+ if ( normalized ) value = value.map( v => normalize( v, array ) );
- this.array.set( value, offset )... | false |
Other | mrdoob | three.js | 9bb4782c22d7913ab49510b6ed8f51760f916759.json | fix typos (#24508) | docs/api/en/materials/Material.html | @@ -292,7 +292,7 @@ <h3>[property:String uuid]</h3>
<h3>[property:Integer version]</h3>
<p>
- This starts at `0` and counts how many times [property:Boolean needsUpdate] is set to `true`.
+ This starts at `0` and counts how many times [page:Material.needsUpdate .needsUpdate] is set to `true`.
</p>
<h3... | true |
Other | mrdoob | three.js | 9bb4782c22d7913ab49510b6ed8f51760f916759.json | fix typos (#24508) | docs/api/en/textures/Source.html | @@ -40,7 +40,7 @@ <h3>[property:String uuid]</h3>
<h3>[property:Integer version]</h3>
<p>
- This starts at `0` and counts how many times [property:Boolean needsUpdate] is set to `true`.
+ This starts at `0` and counts how many times [page:Source.needsUpdate .needsUpdate] is set to `true`.
</p>
<h2>Met... | true |
Other | mrdoob | three.js | 9bb4782c22d7913ab49510b6ed8f51760f916759.json | fix typos (#24508) | docs/api/en/textures/Texture.html | @@ -253,7 +253,7 @@ <h3>[property:number encoding]</h3>
<h3>[property:Integer version]</h3>
<p>
- This starts at `0` and counts how many times [property:Boolean needsUpdate] is set to `true`.
+ This starts at `0` and counts how many times [page:Texture.needsUpdate .needsUpdate] is set to `true`.
</p>
... | true |
Other | mrdoob | three.js | 9bb4782c22d7913ab49510b6ed8f51760f916759.json | fix typos (#24508) | docs/api/en/textures/VideoTexture.html | @@ -90,7 +90,7 @@ <h2>Methods</h2>
<h3>[method:undefined update]()</h3>
<p>
- This is called automatically and sets [property:Boolean needsUpdate] to `true` every time
+ This is called automatically and sets [page:VideoTexture.needsUpdate .needsUpdate] to `true` every time
a new frame is available.
</p>... | true |
Other | mrdoob | three.js | 9bb4782c22d7913ab49510b6ed8f51760f916759.json | fix typos (#24508) | docs/api/zh/textures/Source.html | @@ -40,7 +40,7 @@ <h3>[property:String uuid]</h3>
<h3>[property:Integer version]</h3>
<p>
- This starts at *0* and counts how many times [property:Boolean needsUpdate] is set to *true*.
+ This starts at *0* and counts how many times [page:Source.needsUpdate .needsUpdate] is set to *true*.
</p>
<h2>Met... | true |
Other | mrdoob | three.js | 3e7149ad244e5a5045f279d19661e21085da3aff.json | Update meshopt_decoder module to latest (#24491)
This brings up meshopt_decoder modules to the latest versions, which
mostly constitutes a few internal Wasm changes that get reflected in the
different Wasm blobs, and support for Web Workers.
Note that with this change, GLTFLoader will start using decodeGltfBuffer... | examples/js/libs/meshopt_decoder.js | @@ -1,36 +1,27 @@
// This file is part of meshoptimizer library and is distributed under the terms of MIT License.
-// Copyright (C) 2016-2020, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
+// Copyright (C) 2016-2022, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
var MeshoptDecoder = (function() {
"use s... | true |
Other | mrdoob | three.js | 3e7149ad244e5a5045f279d19661e21085da3aff.json | Update meshopt_decoder module to latest (#24491)
This brings up meshopt_decoder modules to the latest versions, which
mostly constitutes a few internal Wasm changes that get reflected in the
different Wasm blobs, and support for Web Workers.
Note that with this change, GLTFLoader will start using decodeGltfBuffer... | examples/jsm/libs/meshopt_decoder.module.js | @@ -1,36 +1,27 @@
// This file is part of meshoptimizer library and is distributed under the terms of MIT License.
-// Copyright (C) 2016-2020, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
+// Copyright (C) 2016-2022, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
var MeshoptDecoder = (function() {
"use s... | true |
Other | mrdoob | three.js | c3180c507b405aa80cf4b3b6d8bdbf0c83b071e1.json | Fix typo in WebGLRenderer docs (#24489)
Co-authored-by: Noeri Huisman <mrxz@users.noreply.github.com> | docs/api/en/renderers/WebGLRenderer.html | @@ -407,7 +407,7 @@ <h3>[method:undefined render]( [param:Object3D scene], [param:Camera camera] )</
By default render buffers are cleared before rendering but you can prevent this by setting the property [page:WebGLRenderer.autoClear autoClear] to false.
If you want to prevent only certain buffers being clea... | false |
Other | mrdoob | three.js | b398bc410bd161a88e8087898eb66639f03762be.json | Remove unnecessary shader chunks (#24475) | examples/jsm/utils/PackedPhongMaterial.js | @@ -189,7 +189,6 @@ class PackedPhongMaterial extends MeshPhongMaterial {
ShaderChunk.emissivemap_pars_fragment,
ShaderChunk.envmap_common_pars_fragment,
ShaderChunk.envmap_pars_fragment,
- ShaderChunk.cube_uv_reflection_fragment,
ShaderChunk.fog_pars_fragment,
ShaderChunk.bsdfs,
ShaderChunk.l... | true |
Other | mrdoob | three.js | b398bc410bd161a88e8087898eb66639f03762be.json | Remove unnecessary shader chunks (#24475) | src/renderers/shaders/ShaderLib/meshbasic.glsl.js | @@ -63,7 +63,6 @@ uniform float opacity;
#include <lightmap_pars_fragment>
#include <envmap_common_pars_fragment>
#include <envmap_pars_fragment>
-#include <cube_uv_reflection_fragment>
#include <fog_pars_fragment>
#include <specularmap_pars_fragment>
#include <logdepthbuf_pars_fragment> | true |
Other | mrdoob | three.js | b398bc410bd161a88e8087898eb66639f03762be.json | Remove unnecessary shader chunks (#24475) | src/renderers/shaders/ShaderLib/meshphong.glsl.js | @@ -72,7 +72,6 @@ uniform float opacity;
#include <emissivemap_pars_fragment>
#include <envmap_common_pars_fragment>
#include <envmap_pars_fragment>
-#include <cube_uv_reflection_fragment>
#include <fog_pars_fragment>
#include <bsdfs>
#include <lights_pars_begin> | true |
Other | mrdoob | three.js | 82c1a91b42e34c33ee7c51bca45b62be08608a29.json | Introduce MeshGouraudMaterial (#24467)
* Introduce MeshGouraudMaterial
* Remove unnecessary shader chunk
* Support MeshGouraudMaterial envMap
* Inline lights_lambert_vertex and remove it from core | examples/jsm/materials/MeshGouraudMaterial.js | @@ -0,0 +1,423 @@
+/**
+ * MeshGouraudMaterial
+ *
+ * Lambert illumination model with Gouraud (per-vertex) shading
+ *
+ */
+
+import { UniformsUtils, UniformsLib, ShaderMaterial, Color, MultiplyOperation } from 'three';
+
+const GouraudShader = {
+
+ uniforms: /*@__PURE__*/ UniformsUtils.merge( [
+ UniformsLib.commo... | true |
Other | mrdoob | three.js | 82c1a91b42e34c33ee7c51bca45b62be08608a29.json | Introduce MeshGouraudMaterial (#24467)
* Introduce MeshGouraudMaterial
* Remove unnecessary shader chunk
* Support MeshGouraudMaterial envMap
* Inline lights_lambert_vertex and remove it from core | src/renderers/WebGLRenderer.js | @@ -1726,14 +1726,23 @@ function WebGLRenderer( parameters = {} ) {
}
-
if ( refreshMaterial || materialProperties.receiveShadow !== object.receiveShadow ) {
materialProperties.receiveShadow = object.receiveShadow;
p_uniforms.setValue( _gl, 'receiveShadow', object.receiveShadow );
}
+ // htt... | true |
Other | mrdoob | three.js | 82c1a91b42e34c33ee7c51bca45b62be08608a29.json | Introduce MeshGouraudMaterial (#24467)
* Introduce MeshGouraudMaterial
* Remove unnecessary shader chunk
* Support MeshGouraudMaterial envMap
* Inline lights_lambert_vertex and remove it from core | src/renderers/shaders/ShaderChunk/lights_lambert_vertex.glsl.js | @@ -1,122 +0,0 @@
-export default /* glsl */`
-vec3 diffuse = vec3( 1.0 );
-
-GeometricContext geometry;
-geometry.position = mvPosition.xyz;
-geometry.normal = normalize( transformedNormal );
-geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );
-
-GeometricContext backGeometry;
-bac... | true |
Other | mrdoob | three.js | 3d06022caca7a34f695cb352c3f2ba2c5058dde3.json | Fix bad merge resolve | examples/js/loaders/GLTFLoader.js | @@ -2364,21 +2364,12 @@ THREE.GLTFLoader = ( function () {
*/
GLTFParser.prototype.loadTexture = function ( textureIndex ) {
- var parser = this;
var json = this.json;
var options = this.options;
-
var textureDef = json.textures[ textureIndex ];
+ var source = json.images[ textureDef.source ];
- va... | true |
Other | mrdoob | three.js | 3d06022caca7a34f695cb352c3f2ba2c5058dde3.json | Fix bad merge resolve | examples/jsm/loaders/GLTFLoader.js | @@ -2429,21 +2429,12 @@ var GLTFLoader = ( function () {
*/
GLTFParser.prototype.loadTexture = function ( textureIndex ) {
- var parser = this;
var json = this.json;
var options = this.options;
-
var textureDef = json.textures[ textureIndex ];
+ var source = json.images[ textureDef.source ];
- var ... | true |
Other | mrdoob | three.js | da06eb3ad08d2c07274df00044879a311d5522af.json | Adjust code style | examples/js/loaders/GLTFLoader.js | @@ -764,16 +764,11 @@ THREE.GLTFLoader = ( function () {
var extension = textureDef.extensions[ name ];
var source = json.images[ extension.source ];
- var loader;
+ var loader = parser.textureLoader;
if ( source.uri ) {
- loader = parser.options.manager.getHandler( source.uri );
-
- }
-
- if ( ! loa... | true |
Other | mrdoob | three.js | da06eb3ad08d2c07274df00044879a311d5522af.json | Adjust code style | examples/jsm/loaders/GLTFLoader.js | @@ -829,16 +829,11 @@ var GLTFLoader = ( function () {
var extension = textureDef.extensions[ name ];
var source = json.images[ extension.source ];
- var loader;
+ var loader = parser.textureLoader;
if ( source.uri ) {
- loader = parser.options.manager.getHandler( source.uri );
-
- }
-
- if ( ! loade... | true |
Other | mrdoob | three.js | 33155151cd64bcac5797fec5c3cd856bd32048f5.json | fix webp extension with no handler | examples/js/loaders/GLTFLoader.js | @@ -763,7 +763,19 @@ THREE.GLTFLoader = ( function () {
var extension = textureDef.extensions[ name ];
var source = json.images[ extension.source ];
- var loader = source.uri ? parser.options.manager.getHandler( source.uri ) : parser.textureLoader;
+
+ var loader;
+ if ( source.uri ) {
+
+ loader = parser.... | true |
Other | mrdoob | three.js | 33155151cd64bcac5797fec5c3cd856bd32048f5.json | fix webp extension with no handler | examples/jsm/loaders/GLTFLoader.js | @@ -828,7 +828,19 @@ var GLTFLoader = ( function () {
var extension = textureDef.extensions[ name ];
var source = json.images[ extension.source ];
- var loader = source.uri ? parser.options.manager.getHandler( source.uri ) : parser.textureLoader;
+
+ var loader;
+ if ( source.uri ) {
+
+ loader = parser.op... | true |
Other | mrdoob | three.js | 23bc284ab57e57d2a3f66c42cb3b4db99a21121b.json | fix uint usage (#23817) | examples/jsm/nodes/shadernode/ShaderNodeUtils.js | @@ -2,7 +2,6 @@ import ArrayElementNode from '../utils/ArrayElementNode.js';
import ConvertNode from '../utils/ConvertNode.js';
import JoinNode from '../utils/JoinNode.js';
import SplitNode from '../utils/SplitNode.js';
-
import ConstNode from '../core/ConstNode.js';
import { getValueFromType } from '../core/NodeU... | false |
Other | mrdoob | three.js | 6b11525913149f71e1c140829ec5b17b3f415cac.json | allow animation export via extension (#23810) | examples/jsm/loaders/GLTFLoader.js | @@ -2580,7 +2580,11 @@ class GLTFParser {
break;
case 'animation':
- dependency = this.loadAnimation( index );
+ dependency = this._invokeOne( function ( ext ) {
+
+ return ext.loadAnimation && ext.loadAnimation( index );
+
+ } );
break;
case 'camera': | false |
Other | mrdoob | three.js | 7a3411100577eac52c48bc71425957078ebd323d.json | Update Installation.html (#23788)
* Update Installation.html
There is no need for "--save", as the package will be added automatically to the dependencies since npm v5 five years ago, just for the sake of updating.
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Updat... | docs/manual/ar/introduction/Installation.html | @@ -34,7 +34,7 @@ <h2>التثبيت بإستعمال npm</h2>
</p>
<code>
- npm install --save three
+ npm install three
</code>
<p> | true |
Other | mrdoob | three.js | 7a3411100577eac52c48bc71425957078ebd323d.json | Update Installation.html (#23788)
* Update Installation.html
There is no need for "--save", as the package will be added automatically to the dependencies since npm v5 five years ago, just for the sake of updating.
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Updat... | docs/manual/en/introduction/Installation.html | @@ -28,7 +28,7 @@ <h2>Install from npm</h2>
</p>
<code>
- npm install --save three
+ npm install three
</code>
<p> | true |
Other | mrdoob | three.js | 7a3411100577eac52c48bc71425957078ebd323d.json | Update Installation.html (#23788)
* Update Installation.html
There is no need for "--save", as the package will be added automatically to the dependencies since npm v5 five years ago, just for the sake of updating.
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Updat... | docs/manual/ja/introduction/Installation.html | @@ -30,7 +30,7 @@ <h2>npmでインストールする</h2>
</p>
<code>
- npm install --save three
+ npm install three
</code>
<p> | true |
Other | mrdoob | three.js | 7a3411100577eac52c48bc71425957078ebd323d.json | Update Installation.html (#23788)
* Update Installation.html
There is no need for "--save", as the package will be added automatically to the dependencies since npm v5 five years ago, just for the sake of updating.
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Updat... | docs/manual/ko/introduction/Installation.html | @@ -32,7 +32,7 @@ <h2>npm으로 설치하기</h2>
</p>
<code>
- npm install --save three
+ npm install three
</code>
<p> | true |
Other | mrdoob | three.js | 7a3411100577eac52c48bc71425957078ebd323d.json | Update Installation.html (#23788)
* Update Installation.html
There is no need for "--save", as the package will be added automatically to the dependencies since npm v5 five years ago, just for the sake of updating.
* Update Installation.html
* Update Installation.html
* Update Installation.html
* Updat... | docs/manual/zh/introduction/Installation.html | @@ -28,7 +28,7 @@ <h2>安装自 npm</h2>
</p>
<code>
- npm install --save three
+ npm install three
</code>
<p> | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | examples/jsm/exporters/OBJExporter.js | @@ -60,9 +60,7 @@ class OBJExporter {
for ( let i = 0, l = vertices.count; i < l; i ++, nbVertex ++ ) {
- vertex.x = vertices.getX( i );
- vertex.y = vertices.getY( i );
- vertex.z = vertices.getZ( i );
+ vertex.fromBufferAttribute( vertices, i );
// transform the vertex to world space
... | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | examples/jsm/exporters/PLYExporter.js | @@ -227,9 +227,7 @@ class PLYExporter {
for ( let i = 0, l = vertices.count; i < l; i ++ ) {
- vertex.x = vertices.getX( i );
- vertex.y = vertices.getY( i );
- vertex.z = vertices.getZ( i );
+ vertex.fromBufferAttribute( vertices, i );
vertex.applyMatrix4( mesh.matrixWorld );
@@ -249... | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | examples/jsm/helpers/VertexNormalsHelper.js | @@ -67,9 +67,9 @@ class VertexNormalsHelper extends LineSegments {
for ( let j = 0, jl = objPos.count; j < jl; j ++ ) {
- _v1.set( objPos.getX( j ), objPos.getY( j ), objPos.getZ( j ) ).applyMatrix4( matrixWorld );
+ _v1.fromBufferAttribute( objPos, j ).applyMatrix4( matrixWorld );
- _v2.set( objNorm... | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | examples/jsm/helpers/VertexTangentsHelper.js | @@ -56,9 +56,9 @@ class VertexTangentsHelper extends LineSegments {
for ( let j = 0, jl = objPos.count; j < jl; j ++ ) {
- _v1.set( objPos.getX( j ), objPos.getY( j ), objPos.getZ( j ) ).applyMatrix4( matrixWorld );
+ _v1.fromBufferAttribute( objPos, j ).applyMatrix4( matrixWorld );
- _v2.set( objTan.get... | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | src/core/BufferAttribute.js | @@ -222,9 +222,7 @@ class BufferAttribute {
for ( let i = 0, l = this.count; i < l; i ++ ) {
- _vector.x = this.getX( i );
- _vector.y = this.getY( i );
- _vector.z = this.getZ( i );
+ _vector.fromBufferAttribute( this, i );
_vector.applyMatrix4( m );
@@ -240,9 +238,7 @@ class BufferAttribute {
... | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | src/core/InterleavedBufferAttribute.js | @@ -39,9 +39,7 @@ class InterleavedBufferAttribute {
for ( let i = 0, l = this.data.count; i < l; i ++ ) {
- _vector.x = this.getX( i );
- _vector.y = this.getY( i );
- _vector.z = this.getZ( i );
+ _vector.fromBufferAttribute( this, i );
_vector.applyMatrix4( m );
@@ -57,9 +55,7 @@ class Interle... | true |
Other | mrdoob | three.js | 793f66f41c7eb7d5622cc357a681eae9a3ec68cc.json | Use fromBufferAttribute (#23769) | src/objects/SkinnedMesh.js | @@ -72,10 +72,7 @@ class SkinnedMesh extends Mesh {
for ( let i = 0, l = skinWeight.count; i < l; i ++ ) {
- vector.x = skinWeight.getX( i );
- vector.y = skinWeight.getY( i );
- vector.z = skinWeight.getZ( i );
- vector.w = skinWeight.getW( i );
+ vector.fromBufferAttribute( skinWeight, i );
con... | true |
Other | mrdoob | three.js | 6f1caec4b6116fdad310d72148805e89d2ed6087.json | Remove call to checkFramebufferStatus (#23770)
This is a perf hit and AFAIK there's not much reason to do the check
except to give the user an error message that the browser itself
would print.
No other place in the code calls checkFramebufferStatus so not sure
why this is special. If the framebuffer is not comp... | src/renderers/WebGLRenderer.js | @@ -1984,19 +1984,11 @@ function WebGLRenderer( parameters = {} ) {
}
- if ( _gl.checkFramebufferStatus( _gl.FRAMEBUFFER ) === _gl.FRAMEBUFFER_COMPLETE ) {
+ // the following if statement ensures valid read requests (no out-of-bounds pixels, see #8604)
- // the following if statement ensures valid ... | false |
Other | mrdoob | three.js | cc2ddada5869f66616b130a82e5bc7372b6c4b53.json | Remove unneeded constants (#23765) | examples/jsm/nodes/ShaderNode.js | @@ -421,10 +421,5 @@ export const step = new ShaderNodeProxy( MathNode, 'step' );
export const tan = new ShaderNodeProxy( MathNode, 'tan' );
export const transformDirection = new ShaderNodeProxy( MathNode, 'transformDirection' );
-export const PI = float( Math.PI );
-export const PI2 = float( Math.PI * 2 );
-export... | true |
Other | mrdoob | three.js | cc2ddada5869f66616b130a82e5bc7372b6c4b53.json | Remove unneeded constants (#23765) | examples/jsm/nodes/functions/BSDFs.js | @@ -3,7 +3,7 @@ import { ShaderNode,
cond, greaterThan, and,
transformedNormalView, positionViewDirection,
diffuseColor, specularColor, roughness,
- PI, RECIPROCAL_PI, EPSILON
+ EPSILON
} from '../ShaderNode.js';
export const F_Schlick = new ShaderNode( ( inputs ) => {
@@ -23,7 +23,7 @@ export const F_Schlick... | true |
Other | mrdoob | three.js | cc2ddada5869f66616b130a82e5bc7372b6c4b53.json | Remove unneeded constants (#23765) | examples/jsm/nodes/utils/OscNode.js | @@ -1,6 +1,6 @@
import Node from '../core/Node.js';
import TimerNode from './TimerNode.js';
-import { abs, fract, round, sin, add, sub, mul, PI2 } from '../ShaderNode.js';
+import { abs, fract, round, sin, add, sub, mul } from '../ShaderNode.js';
class OscNode extends Node {
@@ -33,7 +33,7 @@ class OscNode exten... | true |
Other | mrdoob | three.js | 74811ba4d28578caefbb6d5bcfc319194c16fabf.json | Update Clock.html (#23749) | docs/api/zh/core/Clock.html | @@ -19,35 +19,35 @@ <h2>构造函数</h2>
<h3>[name]( [param:Boolean autoStart] )</h3>
<p>
- autoStart — (可选) 是否要自动开启时钟。默认值是 true。
+ autoStart — (可选) 是否要在第一次调用 [page:.getDelta]() 时自动开启时钟。默认值是 *true*。
</p>
<h2>属性</h2>
<h3>[property:Boolean autoStart]</h3>
<p>
- 如果设置为 true,则在第一次 update 时开启时钟。默认值是 true... | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.