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
cb441e0cb48e1bcc1c14b2dd8ae273cd44429276.json
Fix translation error
docs/api/zh/geometries/TorusKnotBufferGeometry.html
@@ -10,7 +10,7 @@ <body> [page:BufferGeometry] &rarr; - <h1>圆环缓冲几何体([name])</h1> + <h1>圆环缓冲扭结几何体([name])</h1> <p class="desc">This is the [page:BufferGeometry] port of [page:TorusKnotGeometry].</p>
false
Other
mrdoob
three.js
bdf738fb9048c279b7599889c60800e92e0f2b78.json
Remove unused frustum bounding box
examples/jsm/csm/FrustumBoundingBox.js
@@ -1,83 +0,0 @@ -/** - * @author vHawk / https://github.com/vHawk/ - */ - -export default class FrustumBoundingBox { - - constructor() { - - this.min = { - x: 0, - y: 0, - z: 0 - }; - this.max = { - x: 0, - y: 0, - z: 0 - }; - - } - - fromFrustum( frustum ) { - - const vertices = []; - - for ( let i ...
false
Other
mrdoob
three.js
f54797b4c33aaa51896ba57d9927370feb0eb84f.json
Replace FrustumBoundingBox use with Box3
examples/jsm/csm/CSM.js
@@ -13,17 +13,18 @@ import { BufferGeometry, BufferAttribute, Line, - Matrix4 + Matrix4, + Box3 } from '../../../build/three.module.js'; import Frustum from './Frustum.js'; -import FrustumBoundingBox from './FrustumBoundingBox.js'; import Shader from './Shader.js'; const _cameraToLightMatrix = new Matrix4()...
false
Other
mrdoob
three.js
3e937e9dc08dc48026056e6c689025aa954a5edb.json
remove array creation from `getBreaks`
examples/jsm/csm/CSM.js
@@ -24,6 +24,8 @@ const _lightSpaceFrustum = new Frustum(); const _frustum = new Frustum(); const _center = new Vector3(); const _bbox = new FrustumBoundingBox(); +const _uniformArray = []; +const _logArray = []; export default class CSM { @@ -46,6 +48,7 @@ export default class CSM { this.customSplitsCallbac...
false
Other
mrdoob
three.js
d6ff1df09f8c9c30f7812eda0bf6516832f6671b.json
Fix csm helper
examples/jsm/csm/CSM.js
@@ -21,6 +21,7 @@ import Shader from './Shader.js'; const _cameraToLightMatrix = new Matrix4(); const _lightSpaceFrustum = new Frustum(); +const _frustum = new Frustum(); const _center = new Vector3(); const _bbox = new FrustumBoundingBox(); @@ -276,22 +277,21 @@ export default class CSM { helper( cameraMat...
false
Other
mrdoob
three.js
e289d72af7a917d2583c234e74832623feb12f79.json
Use cached vectors
examples/jsm/csm/Frustum.js
@@ -45,20 +45,20 @@ export default class Frustum { // 2 --- 1 // clip space spans from [-1, 1] - this.vertices.near[ 0 ] = new Vector3( 1, 1, - 1 ); - this.vertices.near[ 1 ] = new Vector3( 1, - 1, - 1 ); - this.vertices.near[ 2 ] = new Vector3( - 1, - 1, - 1 ); - this.vertices.near[ 3 ] = new Vector3( - 1,...
false
Other
mrdoob
three.js
63502b521e1d50e42f57f24bc5d38b82fa5e0702.json
Support additional attribute types
examples/js/loaders/EXRLoader.js
@@ -1608,6 +1608,24 @@ THREE.EXRLoader.prototype = Object.assign( Object.create( THREE.DataTextureLoade } + function parseRational( dataView, offset ) { + + var x = parseUint32( dataView, offset ); + var y = parseUint32( dataView, offset ); + + return [ x, y ]; + + } + + function parseTimecode( dataView...
true
Other
mrdoob
three.js
63502b521e1d50e42f57f24bc5d38b82fa5e0702.json
Support additional attribute types
examples/jsm/loaders/EXRLoader.js
@@ -1623,6 +1623,24 @@ EXRLoader.prototype = Object.assign( Object.create( DataTextureLoader.prototype } + function parseRational( dataView, offset ) { + + var x = parseUint32( dataView, offset ); + var y = parseUint32( dataView, offset ); + + return [ x, y ]; + + } + + function parseTimecode( dataView,...
true
Other
mrdoob
three.js
958cffb406152839d1117ec3b901d5a1edafb04a.json
Add samples to WebGLMultisampleRenderTarget.d.ts.
src/renderers/WebGLMultisampleRenderTarget.d.ts
@@ -13,4 +13,9 @@ export class WebGLMultisampleRenderTarget extends WebGLRenderTarget { readonly isWebGLMultisampleRenderTarget: true; + /** + * Specifies the number of samples to be used for the renderbuffer storage.However, the maximum supported size for multisampling is platform dependent and defined via gl.M...
false
Other
mrdoob
three.js
ad01cf9930538dfc66f26086b94fa18ee7399230.json
Correct wrong keyup (Ctrl, 17) to Shift(16) Should snap to grid while pressing Shift, therefore Shift keyup should disable snapping.
examples/misc_controls_transform.html
@@ -133,7 +133,7 @@ switch ( event.keyCode ) { - case 17: // Ctrl + case 16: // Shift control.setTranslationSnap( null ); control.setRotationSnap( null ); control.setScaleSnap( null );
false
Other
mrdoob
three.js
7a0674cd1a646a95e2f2139d420539051aa85a7c.json
remove old warning
src/renderers/webgl/WebGLTextures.js
@@ -180,10 +180,6 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils, extensions.get( 'EXT_color_buffer_float' ); - } else if ( internalFormat === _gl.RGB16F || internalFormat === _gl.RGB32F ) { - - console.warn( 'THREE.WebGLRenderer: Floating point textures with RGB format no...
false
Other
mrdoob
three.js
e5870f75d20abcc0615e47a1065e001da4fd8997.json
Update chinese version Signed-off-by: martinRenou <martin.renou@gmail.com>
docs/api/zh/renderers/WebGLRenderer.html
@@ -384,12 +384,11 @@ <h3>[method:null render]( [param:Scene scene], [param:Camera camera], [param:Web <h3>[method:null renderBufferDirect]( [param:Camera camera], [param:Fog fog], [param:Geometry geometry], [param:Material material], [param:Object3D object], [param:Object group] )</h3> <p>使用相机和指定材质渲染缓冲几何组。</p> ...
false
Other
mrdoob
three.js
5256f4c5eebbbb261dad0c963766d57ecd59c4f1.json
Add support for vertex colors
src/renderers/shaders/ShaderLib/meshmatcap_frag.glsl.js
@@ -14,6 +14,7 @@ varying vec3 vViewPosition; #endif #include <common> +#include <color_pars_fragment> #include <uv_pars_fragment> #include <map_pars_fragment> #include <alphamap_pars_fragment> @@ -32,6 +33,7 @@ void main() { #include <logdepthbuf_fragment> #include <map_fragment> + #include <color_fragmen...
true
Other
mrdoob
three.js
5256f4c5eebbbb261dad0c963766d57ecd59c4f1.json
Add support for vertex colors
src/renderers/shaders/ShaderLib/meshmatcap_vert.glsl.js
@@ -11,6 +11,7 @@ varying vec3 vViewPosition; #include <common> #include <uv_pars_vertex> +#include <color_pars_vertex> #include <displacementmap_pars_vertex> #include <fog_pars_vertex> #include <morphtarget_pars_vertex> @@ -22,7 +23,7 @@ varying vec3 vViewPosition; void main() { #include <uv_vertex> - + #i...
true
Other
mrdoob
three.js
7a084b1c113714425f92e74a393aadb5b96a22fd.json
Fix docs for renderBufferImmediate Looking at the code I saw that it actually does not take a Material as input. I suppose it's a leftover from an old implementation. Signed-off-by: martinRenou <martin.renou@gmail.com>
docs/api/en/renderers/WebGLRenderer.html
@@ -427,12 +427,11 @@ <h3>[method:null render]( [param:Scene scene], [param:Camera camera] )</h3> <h3>[method:null renderBufferDirect]( [param:Camera camera], [param:Fog fog], [param:Geometry geometry], [param:Material material], [param:Object3D object], [param:Object group] )</h3> <p>Render a buffer geometry gro...
false
Other
mrdoob
three.js
b1aab9b78c88e86e16c2281bf01c653b2caa6f07.json
Add discord link in README
README.md
@@ -17,7 +17,8 @@ The aim of the project is to create an easy to use, lightweight, 3D library with [Migrating](https://github.com/mrdoob/three.js/wiki/Migration-Guide) &mdash; [Questions](http://stackoverflow.com/questions/tagged/three.js) &mdash; [Forum](https://discourse.threejs.org/) &mdash; -[Slack](https://join...
false
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/js/effects/OutlineEffect.js
@@ -158,10 +158,10 @@ THREE.OutlineEffect = function ( renderer, parameters ) { " gl_FragColor = vec4( outlineColor, outlineAlpha );", - " #include <premultiplied_alpha_fragment>", " #include <tonemapping_fragment>", " #include <encodings_fragment>", " #include <fog_fragment>", + " #include <premultip...
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/js/lines/LineMaterial.js
@@ -228,10 +228,10 @@ THREE.ShaderLib[ 'line' ] = { gl_FragColor = vec4( diffuseColor.rgb, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fog_fragment> + #include <premultiplied_alpha_fragment> } `
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/js/loaders/LDrawLoader.js
@@ -77,10 +77,10 @@ THREE.LDrawLoader = ( function () { #include <color_fragment> outgoingLight = diffuseColor.rgb; // simple shader gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <...
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/jsm/effects/OutlineEffect.js
@@ -166,10 +166,10 @@ var OutlineEffect = function ( renderer, parameters ) { " gl_FragColor = vec4( outlineColor, outlineAlpha );", - " #include <premultiplied_alpha_fragment>", " #include <tonemapping_fragment>", " #include <encodings_fragment>", " #include <fog_fragment>", + " #include <premultipli...
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/jsm/lines/LineMaterial.js
@@ -236,10 +236,10 @@ ShaderLib[ 'line' ] = { gl_FragColor = vec4( diffuseColor.rgb, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fog_fragment> + #include <premultiplied_alpha_fragment> } `
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/jsm/loaders/LDrawLoader.js
@@ -95,10 +95,10 @@ var LDrawLoader = ( function () { #include <color_fragment> outgoingLight = diffuseColor.rgb; // simple shader gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fo...
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
examples/jsm/nodes/materials/nodes/PhongNode.js
@@ -327,10 +327,10 @@ PhongNode.prototype.build = function ( builder ) { } output.push( - "#include <premultiplied_alpha_fragment>", "#include <tonemapping_fragment>", "#include <encodings_fragment>", - "#include <fog_fragment>" + "#include <fog_fragment>", + "#include <premultiplied_alpha_fragm...
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
src/renderers/shaders/ShaderLib/linedashed_frag.glsl.js
@@ -33,10 +33,10 @@ void main() { gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fog_fragment> + #include <premultiplied_alpha_fragment> } `;
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
src/renderers/shaders/ShaderLib/meshbasic_frag.glsl.js
@@ -62,10 +62,10 @@ void main() { gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fog_fragment> + #include <premultiplied_alpha_fragment> } `;
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
src/renderers/shaders/ShaderLib/meshmatcap_frag.glsl.js
@@ -57,10 +57,10 @@ void main() { gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fog_fragment> + #include <premultiplied_alpha_fragment> } `;
true
Other
mrdoob
three.js
218d8e5b252a5de6af3960865fceb361a7a82c2c.json
Move premultiplied_alpha chunk
src/renderers/shaders/ShaderLib/points_frag.glsl.js
@@ -25,10 +25,10 @@ void main() { gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - #include <premultiplied_alpha_fragment> #include <tonemapping_fragment> #include <encodings_fragment> #include <fog_fragment> + #include <premultiplied_alpha_fragment> } `;
true
Other
mrdoob
three.js
45525ae4c6f4b7ddcb025114f6b9ce5627a892aa.json
Fix d.ts for WebGLShadowMap constructor
src/renderers/webgl/WebGLShadowMap.d.ts
@@ -7,9 +7,8 @@ export class WebGLShadowMap { constructor( _renderer: WebGLRenderer, - _lights: any[], _objects: any[], - capabilities: any + maxTextureSize: number ); enabled: boolean;
false
Other
mrdoob
three.js
b37e9e60d924837e0e2e09f6eef4ab6281ac6e28.json
Fix Ray.lookAt d.ts signature
src/math/Ray.d.ts
@@ -15,7 +15,7 @@ export class Ray { clone(): this; copy( ray: Ray ): this; at( t: number, target: Vector3 ): Vector3; - lookAt( v: Vector3 ): Vector3; + lookAt( v: Vector3 ): Ray; recast( t: number ): Ray; closestPointToPoint( point: Vector3, target: Vector3 ): Vector3; distanceToPoint( point: Vector3 ): n...
false
Other
mrdoob
three.js
042adf61f7a98616f259a110ef407704adac6ab6.json
Expose the grip space for XR controllers
src/renderers/webxr/WebXRManager.d.ts
@@ -7,6 +7,7 @@ export class WebXRManager { enabled: boolean; getController( id: number ): Group; + getControllerGrip( id: number ): Group; setFramebufferScaleFactor( value: number ): void; setReferenceSpaceType( value: string ): void; getSession(): any;
true
Other
mrdoob
three.js
042adf61f7a98616f259a110ef407704adac6ab6.json
Expose the grip space for XR controllers
src/renderers/webxr/WebXRManager.js
@@ -52,15 +52,43 @@ function WebXRManager( renderer, gl ) { if ( controller === undefined ) { - controller = new Group(); - controller.matrixAutoUpdate = false; - controller.visible = false; + controller = {}; + controllers[ id ] = controller; + + } + + if ( controller.targetRay === undefined ) { + +...
true
Other
mrdoob
three.js
21f8748968c5deac4d20bc1f933d1eea97239047.json
Upgrade dev dependencies.
package-lock.json
@@ -1,6 +1,6 @@ { "name": "three", - "version": "0.110.0", + "version": "0.112.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -31,21 +31,21 @@ "dev": true }, "@types/estree": { - "version": "0.0.40", - "resolved": "https://registry.npmjs.org/@types/estree/-/es...
true
Other
mrdoob
three.js
21f8748968c5deac4d20bc1f933d1eea97239047.json
Upgrade dev dependencies.
package.json
@@ -73,19 +73,19 @@ "homepage": "https://threejs.org/", "devDependencies": { "@types/webgl2": "^0.0.5", - "@typescript-eslint/eslint-plugin": "^2.9.0", - "@typescript-eslint/parser": "^2.9.0", - "concurrently": "^5.0.0", - "eslint": "^6.7.1", + "@typescript-eslint/eslint-plugin": "^2.15.0", + ...
true
Other
mrdoob
three.js
bbb981b2fa8940fe234d990dd3bc982993980bec.json
Simplify the fix by using a 0-length array instead To avoid creating new Array objects, just change the length to 0; we can't index into the array anyhow.
src/renderers/webgl/WebGLMorphtargets.js
@@ -18,15 +18,10 @@ function WebGLMorphtargets( gl ) { var objectInfluences = object.morphTargetInfluences; - if ( objectInfluences === undefined ) { + // When object doesn't have morph target influences defined, we treat it as a 0-length array + // This is important to make sure we set up morphTargetBaseInfl...
false
Other
mrdoob
three.js
997ff21d0f3db6b993d25bc36d556fe98421195c.json
Add convenience methods
docs/api/en/core/BufferAttribute.html
@@ -113,6 +113,18 @@ <h3>[property:Integer version]</h3> <h2>Methods</h2> + <h3>[method:this applyMatrix3]( [param:Matrix3 m] )</h3> + <p>Applies matrix [page:Matrix3 m] to every Vector3 element of this BufferAttribute.</p> + + <h3>[method:this applyMatrix4]( [param:Matrix4 m] )</h3> + <p>Applies matrix [pag...
true
Other
mrdoob
three.js
997ff21d0f3db6b993d25bc36d556fe98421195c.json
Add convenience methods
src/core/BufferAttribute.d.ts
@@ -43,6 +43,10 @@ export class BufferAttribute { copyVector4sArray( vectors: { x: number; y: number; z: number; w: number }[] ): this; + applyMatrix3( m: Matrix3 ): this; + applyMatrix4( m: Matrix4 ): this; + applyNormalMatrix( m: Matrix3 ): this; + transformDirection( m: Matrix4 ): this; set( value: Array...
true
Other
mrdoob
three.js
997ff21d0f3db6b993d25bc36d556fe98421195c.json
Add convenience methods
src/core/BufferAttribute.js
@@ -8,6 +8,8 @@ import { StaticDrawUsage } from '../constants.js'; * @author mrdoob / http://mrdoob.com/ */ +var _vector = new Vector3(); + function BufferAttribute( array, itemSize, normalized ) { if ( Array.isArray( array ) ) { @@ -191,6 +193,78 @@ Object.assign( BufferAttribute.prototype, { }, + app...
true
Other
mrdoob
three.js
5dbabb2e0cce56be1199aabc75d0e9d1709c35fd.json
Fix path to core/* imports
src/renderers/WebGLRenderer.d.ts
@@ -17,8 +17,8 @@ import { Fog } from './../scenes/Fog'; import { ToneMapping, ShadowMapType, CullFace } from '../constants'; import { WebVRManager } from '../renderers/webvr/WebVRManager'; import { RenderTarget } from './webgl/WebGLRenderLists'; -import { Geometry } from './core/Geometry'; -import { BufferGeometry ...
false
Other
mrdoob
three.js
8837ce97a76573ab754784a004bb52bebffb4561.json
Fix imports for WebGLRenderer.d.ts Missing imports for Geometry and BufferGeometry causes issues in typescript projects.
src/renderers/WebGLRenderer.d.ts
@@ -17,6 +17,8 @@ import { Fog } from './../scenes/Fog'; import { ToneMapping, ShadowMapType, CullFace } from '../constants'; import { WebVRManager } from '../renderers/webvr/WebVRManager'; import { RenderTarget } from './webgl/WebGLRenderLists'; +import { Geometry } from './core/Geometry'; +import { BufferGeometry ...
false
Other
mrdoob
three.js
8cc9cbccb18600d7b956daec2206bfdb5847739d.json
Fix non-optional args
src/helpers/Box3Helper.d.ts
@@ -4,7 +4,7 @@ import { LineSegments } from './../objects/LineSegments'; export class Box3Helper extends LineSegments { - constructor( box?: Box3, color?: Color ); + constructor( box: Box3, color?: Color ); box: Box3;
true
Other
mrdoob
three.js
8cc9cbccb18600d7b956daec2206bfdb5847739d.json
Fix non-optional args
src/helpers/BoxHelper.d.ts
@@ -4,7 +4,7 @@ import { LineSegments } from './../objects/LineSegments'; export class BoxHelper extends LineSegments { - constructor( object?: Object3D, color?: Color ); + constructor( object: Object3D, color?: Color ); update( object?: Object3D ): void;
true
Other
mrdoob
three.js
666443436ca23d4932e5dfba75174499adce0e1c.json
replace var with const
src/constants.js
@@ -1,200 +1,200 @@ -export var REVISION = '117dev'; -export var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }; -export var TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }; -export var CullFaceNone = 0; -export var CullFaceBack = 1; -export var CullFaceFront = 2; -export var CullFac...
false
Other
mrdoob
three.js
2badf8fc4a207b85f1bf515bbbef2cf612a8a939.json
Fix lerpVectors for when v1 === this
src/math/Vector2.js
@@ -422,7 +422,10 @@ Object.assign( Vector2.prototype, { lerpVectors: function ( v1, v2, alpha ) { - return this.subVectors( v2, v1 ).multiplyScalar( alpha ).add( v1 ); + this.x = v1.x + ( v2.x - v1.x ) * alpha; + this.y = v1.y + ( v2.y - v1.y ) * alpha; + + return this; },
true
Other
mrdoob
three.js
2badf8fc4a207b85f1bf515bbbef2cf612a8a939.json
Fix lerpVectors for when v1 === this
src/math/Vector3.js
@@ -502,7 +502,11 @@ Object.assign( Vector3.prototype, { lerpVectors: function ( v1, v2, alpha ) { - return this.subVectors( v2, v1 ).multiplyScalar( alpha ).add( v1 ); + this.x = v1.x + ( v2.x - v1.x ) * alpha; + this.y = v1.y + ( v2.y - v1.y ) * alpha; + this.z = v1.z + ( v2.z - v1.z ) * alpha; + + return ...
true
Other
mrdoob
three.js
2badf8fc4a207b85f1bf515bbbef2cf612a8a939.json
Fix lerpVectors for when v1 === this
src/math/Vector4.js
@@ -594,7 +594,12 @@ Object.assign( Vector4.prototype, { lerpVectors: function ( v1, v2, alpha ) { - return this.subVectors( v2, v1 ).multiplyScalar( alpha ).add( v1 ); + this.x = v1.x + ( v2.x - v1.x ) * alpha; + this.y = v1.y + ( v2.y - v1.y ) * alpha; + this.z = v1.z + ( v2.z - v1.z ) * alpha; + this.w = ...
true
Other
mrdoob
three.js
8807afd93600242d5ba55d106e0c5ef9341bc71b.json
Support dark mode for cards
files/main.css
@@ -2,6 +2,7 @@ color-scheme: light dark; --background-color: #fff; + --secondary-background-color: #f7f7f7; --color-blue: #049EF4; --text-color: #444; @@ -21,6 +22,7 @@ :root { --background-color: #222; + --secondary-background-color: #2e2e2e; --text-color: #bbb; --secondary-text-color: #66...
false
Other
mrdoob
three.js
11e7f63af9fc2d0f6c5329528df77f7650d5e27a.json
Add callback to identify customized programs In case onBeforeCompile has conditional statements in it, the parameter values affecting the shader code can be returned from customProgramCode so the shader program is correctly fetched from cache or recompiled as needed.
docs/api/en/materials/Material.html
@@ -343,6 +343,36 @@ <h3>[method:null onBeforeCompile]( [param:Shader shader], [param:WebGLRenderer r Unlike properties, the callback is not supported by [page:Material.clone .clone](), [page:Material.copy .copy]() and [page:Material.toJSON .toJSON](). </p> + <h3>[method:String customProgramCacheKey]()</h3> + ...
true
Other
mrdoob
three.js
11e7f63af9fc2d0f6c5329528df77f7650d5e27a.json
Add callback to identify customized programs In case onBeforeCompile has conditional statements in it, the parameter values affecting the shader code can be returned from customProgramCode so the shader program is correctly fetched from cache or recompiled as needed.
src/materials/Material.d.ts
@@ -334,6 +334,11 @@ export class Material extends EventDispatcher { */ onBeforeCompile ( shader : Shader, renderer : WebGLRenderer ) : void; + /** + * In case onBeforeCompile is used, this callback can be used to identify values of settings used in onBeforeCompile, so three.js can reuse a cached shader or reco...
true
Other
mrdoob
three.js
11e7f63af9fc2d0f6c5329528df77f7650d5e27a.json
Add callback to identify customized programs In case onBeforeCompile has conditional statements in it, the parameter values affecting the shader code can be returned from customProgramCode so the shader program is correctly fetched from cache or recompiled as needed.
src/materials/Material.js
@@ -86,6 +86,12 @@ Material.prototype = Object.assign( Object.create( EventDispatcher.prototype ), onBeforeCompile: function () {}, + customProgramCacheKey: function () { + + return this.onBeforeCompile.toString(); + + }, + setValues: function ( values ) { if ( values === undefined ) return;
true
Other
mrdoob
three.js
11e7f63af9fc2d0f6c5329528df77f7650d5e27a.json
Add callback to identify customized programs In case onBeforeCompile has conditional statements in it, the parameter values affecting the shader code can be returned from customProgramCode so the shader program is correctly fetched from cache or recompiled as needed.
src/renderers/webgl/WebGLPrograms.js
@@ -288,7 +288,7 @@ function WebGLPrograms( renderer, extensions, capabilities ) { rendererExtensionDrawBuffers: isWebGL2 || extensions.get( 'WEBGL_draw_buffers' ) !== null, rendererExtensionShaderTextureLod: isWebGL2 || extensions.get( 'EXT_shader_texture_lod' ) !== null, - onBeforeCompile: material.onBefo...
true
Other
mrdoob
three.js
c9988a535b65b37830e6b34da6abb4214f11706a.json
Add missing scene parameter in renderObject call
examples/js/renderers/CSS2DRenderer.js
@@ -109,7 +109,7 @@ THREE.CSS2DRenderer = function () { for ( var i = 0, l = object.children.length; i < l; i ++ ) { - renderObject( object.children[ i ], camera ); + renderObject( object.children[ i ], scene, camera ); }
false
Other
mrdoob
three.js
19ae9719a126bd5291600b9db64a62020700c824.json
Move generic Renderer to callback functions
examples/jsm/renderers/CSS2DRenderer.d.ts
@@ -4,13 +4,13 @@ import { Camera } from '../../../src/Three'; -export class CSS2DObject extends Object3D<CSS2DRenderer> { +export class CSS2DObject extends Object3D { constructor( element: HTMLElement ); element: HTMLElement; - onBeforeRender: (renderer: CSS2DRenderer, scene: Scene, camera: Camera) => voi...
true
Other
mrdoob
three.js
19ae9719a126bd5291600b9db64a62020700c824.json
Move generic Renderer to callback functions
examples/jsm/renderers/CSS3DRenderer.d.ts
@@ -4,13 +4,13 @@ import { Camera } from '../../../src/Three'; -export class CSS3DObject extends Object3D<CSS3DRenderer> { +export class CSS3DObject extends Object3D { constructor( element: HTMLElement ); element: HTMLElement; - onBeforeRender: (renderer: CSS3DRenderer, scene: Scene, camera: Camera) => voi...
true
Other
mrdoob
three.js
19ae9719a126bd5291600b9db64a62020700c824.json
Move generic Renderer to callback functions
src/core/Object3D.d.ts
@@ -20,7 +20,7 @@ export let Object3DIdCount: number; /** * Base class for scene graph objects */ -export class Object3D<Renderer = WebGLRenderer> extends EventDispatcher { +export class Object3D extends EventDispatcher { constructor(); @@ -153,7 +153,7 @@ export class Object3D<Renderer = WebGLRenderer> exte...
true
Other
mrdoob
three.js
219240b1f8acbe714f7586a1747ec0860b5b3d23.json
fix doc: WebGLRendererParameters.alpha by default it's false https://github.com/mrdoob/three.js/blob/eb071dd079a328bfd156559ea1eeb619b6bda8e3/src/renderers/WebGLRenderer.js#L58
src/renderers/WebGLRenderer.d.ts
@@ -47,7 +47,7 @@ export interface WebGLRendererParameters { precision?: string; /** - * default is true. + * default is false. */ alpha?: boolean;
false
Other
mrdoob
three.js
8db89be3aa0256bf459cf7b9a6ff465dba1785e3.json
Add .type property to shader
examples/js/effects/OutlineEffect.js
@@ -170,6 +170,7 @@ THREE.OutlineEffect = function ( renderer, parameters ) { function createMaterial() { return new THREE.ShaderMaterial( { + type: 'OutlineEffect', uniforms: THREE.UniformsUtils.merge( [ THREE.UniformsLib[ 'fog' ], THREE.UniformsLib[ 'displacementmap' ],
true
Other
mrdoob
three.js
8db89be3aa0256bf459cf7b9a6ff465dba1785e3.json
Add .type property to shader
examples/jsm/effects/OutlineEffect.js
@@ -178,6 +178,7 @@ var OutlineEffect = function ( renderer, parameters ) { function createMaterial() { return new ShaderMaterial( { + type: 'OutlineEffect', uniforms: UniformsUtils.merge( [ UniformsLib[ 'fog' ], UniformsLib[ 'displacementmap' ],
true
Other
mrdoob
three.js
a68c862e0b9d59a975382cde669e35facc825cbb.json
fix the format problem of instancedmesh.d.ts
src/objects/InstancedMesh.d.ts
@@ -4,7 +4,7 @@ import { Material } from './../materials/Material'; import { BufferAttribute } from './../core/BufferAttribute'; import { Mesh } from './Mesh'; import { Matrix4 } from './../math/Matrix4'; -import {Intersection, Raycaster} from "../core/Raycaster"; +import { Intersection, Raycaster } from "../core/Ra...
false
Other
mrdoob
three.js
309154ffe6c661737934fea41d08b166e3ce1819.json
Add preload method to DRACOLoader
docs/examples/en/loaders/DRACOLoader.html
@@ -36,6 +36,9 @@ <h2>Example</h2> // Specify path to a folder containing WASM/JS decoding libraries. loader.setDecoderPath( '/examples/js/libs/draco' ); + // Optional: Pre-fetch Draco WASM/JS module. + loader.preload(); + // Load a Draco geometry loader.load( // resource URL @@ -128,6 +131,11 @@ <h...
true
Other
mrdoob
three.js
309154ffe6c661737934fea41d08b166e3ce1819.json
Add preload method to DRACOLoader
docs/examples/zh/loaders/DRACOLoader.html
@@ -36,6 +36,9 @@ <h2>Example</h2> // Specify path to a folder containing WASM/JS decoding libraries. loader.setDecoderPath( '/examples/js/libs/draco' ); + // Optional: Pre-fetch Draco WASM/JS module. + loader.preload(); + // Load a Draco geometry loader.load( // resource URL @@ -128,6 +131,11 @@ <h...
true
Other
mrdoob
three.js
309154ffe6c661737934fea41d08b166e3ce1819.json
Add preload method to DRACOLoader
examples/js/loaders/DRACOLoader.js
@@ -220,7 +220,7 @@ THREE.DRACOLoader.prototype = Object.assign( Object.create( THREE.Loader.prototy }, - _initDecoder: function () { + preload: function () { if ( this.decoderPending ) return this.decoderPending; @@ -269,7 +269,7 @@ THREE.DRACOLoader.prototype = Object.assign( Object.create( THREE.Loader....
true
Other
mrdoob
three.js
309154ffe6c661737934fea41d08b166e3ce1819.json
Add preload method to DRACOLoader
examples/jsm/loaders/DRACOLoader.d.ts
@@ -12,6 +12,7 @@ export class DRACOLoader extends Loader { setDecoderPath( path: string ): DRACOLoader; setDecoderConfig( config: object ): DRACOLoader; setWorkerLimit( workerLimit: number ): DRACOLoader; + preload(): Promise<void>; dispose(): DRACOLoader; }
true
Other
mrdoob
three.js
309154ffe6c661737934fea41d08b166e3ce1819.json
Add preload method to DRACOLoader
examples/jsm/loaders/DRACOLoader.js
@@ -227,7 +227,7 @@ DRACOLoader.prototype = Object.assign( Object.create( Loader.prototype ), { }, - _initDecoder: function () { + preload: function () { if ( this.decoderPending ) return this.decoderPending; @@ -276,7 +276,7 @@ DRACOLoader.prototype = Object.assign( Object.create( Loader.prototype ), { ...
true
Other
mrdoob
three.js
f649588c9c4926bb613c27142397ff6d81925f66.json
fix duplicate array creation
src/objects/InstancedMesh.js
@@ -53,7 +53,7 @@ InstancedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), { _instanceWorldMatrix.multiplyMatrices( matrixWorld, _instanceLocalMatrix ); - //The agent mesh represents this single instance + //The mesh represents this single instance _mesh.matrixWorld = _instanceWorldMa...
false
Other
mrdoob
three.js
d0038c565750d8a62e3c0c794840b166b9ef9824.json
Make WebGLGeometries.d.ts strict
src/renderers/webgl/WebGLGeometries.d.ts
@@ -1,9 +1,17 @@ +import { WebGLAttributes } from './WebGLAttributes'; +import { WebGLInfo } from './WebGLInfo'; +import { BufferAttribute } from '../../core/BufferAttribute'; +import { BufferGeometry } from '../../core/BufferGeometry'; +import { Geometry } from '../../core/Geometry'; +import { Object3D } from '../../c...
false
Other
mrdoob
three.js
c6e88649ce6ffd7c2ac20351890c62a9977aba33.json
update .d.ts for BufferAttributes
src/core/BufferAttribute.d.ts
@@ -16,54 +16,60 @@ export class BufferAttribute { updateRange: { offset: number; count: number }; version: number; normalized: boolean; - needsUpdate: boolean; count: number; - onUpload: Function; - setUsage( usage: Usage ): BufferAttribute; - clone(): this; + set needsUpdate( value: boolean ); + + isBufferA...
true
Other
mrdoob
three.js
c6e88649ce6ffd7c2ac20351890c62a9977aba33.json
update .d.ts for BufferAttributes
src/core/InterleavedBufferAttribute.d.ts
@@ -11,13 +11,15 @@ export class InterleavedBufferAttribute { normalized?: boolean ); - uuid: string; data: InterleavedBuffer; itemSize: number; offset: number; - count: number; normalized: boolean; - array: any[]; + + get count(): number; + get array(): ArrayLike<number>; + + isInterleavedBufferAttribut...
true
Other
mrdoob
three.js
46620b4f03b395558328deea349e31971b10ea75.json
Update Polyfill for Helio 0.98.
examples/js/vr/HelioWebXRPolyfill.js
@@ -2,188 +2,45 @@ * @author mvilledieu / http://github.com/mvilledieu */ -if ( /(Helio)/g.test( navigator.userAgent ) && "xr" in navigator && 'isSessionSupported' in navigator.xr === false) { +if ( /(Helio)/g.test( navigator.userAgent ) && "xr" in navigator) { + console.log( "Helio WebXR Polyfill (Lumin 0.98.0)"...
false
Other
mrdoob
three.js
8ef4e5cdafcd8ba5b7835834d168ed289dd4f123.json
Improve wording in the documentation
docs/api/en/core/BufferGeometry.html
@@ -146,8 +146,7 @@ <h3>[property:Object morphAttributes]</h3> <h3>[property:Boolean morphTargetsRelative]</h3> <p> - Used to control the morph target behavior; when set to true, the morph target data is treated as relative changes to the base geometry, - instead of completely replacing the base geometry da...
false
Other
mrdoob
three.js
2c7fb77db14479689bcd21a10036f70e793ab513.json
Add comments to WebGLMorphtargets.js as well
src/renderers/webgl/WebGLMorphtargets.js
@@ -98,6 +98,9 @@ function WebGLMorphtargets( gl ) { } + // GLSL shader uses formula baseinfluence * base + sum(target * influence) + // This allows us to switch between absolute morphs and relative morphs without changing shader code + // When baseinfluence = 1 - sum(influence), the above is equivalent to su...
false
Other
mrdoob
three.js
40f015ffaf94421e1ac6378de9eed56bd5027161.json
Add GLSL comments to explain the math a bit
src/renderers/shaders/ShaderChunk/morphnormal_vertex.glsl.js
@@ -1,6 +1,9 @@ export default /* glsl */` #ifdef USE_MORPHNORMALS + // morphTargetBaseInfluence is set based on BufferGeometry.morphTargetsRelative value: + // When morphTargetsRelative is false, this is set to 1 - sum(influences); this results in normal = sum((target - base) * influence) + // When morphTargetsRel...
true
Other
mrdoob
three.js
40f015ffaf94421e1ac6378de9eed56bd5027161.json
Add GLSL comments to explain the math a bit
src/renderers/shaders/ShaderChunk/morphtarget_vertex.glsl.js
@@ -1,6 +1,9 @@ export default /* glsl */` #ifdef USE_MORPHTARGETS + // morphTargetBaseInfluence is set based on BufferGeometry.morphTargetsRelative value: + // When morphTargetsRelative is false, this is set to 1 - sum(influences); this results in position = sum((target - base) * influence) + // When morphTargetsR...
true
Other
mrdoob
three.js
ab548dfd4a09f46ac0fa5100864f212cf0483783.json
Add morphTargetsRelative to documentation
docs/api/en/core/BufferGeometry.html
@@ -144,6 +144,14 @@ <h3>[property:Object morphAttributes]</h3> Hashmap of [page:BufferAttribute]s holding details of the geometry's [page:Geometry.morphTargets morphTargets]. </p> + <h3>[property:Boolean morphTargetsRelative]</h3> + <p> + Used to control the morph target behavior; when set to true, the mo...
false
Other
mrdoob
three.js
69aba65161ad30890cb882dfdcccdd5d65e529be.json
Remove clamp-to-zero from WebGL morph target code On further reflection it shouldn't be necessary - it's probably better to maintain "exact" match between the shader code and CPU-side code that may use (pos - morph) * w directly.
src/renderers/webgl/WebGLMorphtargets.js
@@ -98,7 +98,7 @@ function WebGLMorphtargets( gl ) { } - var morphBaseInfluence = geometry.morphTargetsRelative ? 1 : Math.max(0, 1 - morphInfluencesSum); + var morphBaseInfluence = geometry.morphTargetsRelative ? 1 : 1 - morphInfluencesSum; program.getUniforms().setValue( gl, 'morphTargetBaseInfluence', ...
false
Other
mrdoob
three.js
e93499f020f483c6fa1659e46e7b51b4052d18b0.json
Use morphTargetsRelative in GLTF loader This uses the newly added functionality for loading morph target data in GLTF loader; there's no need to clone attribute data anymore.
examples/js/loaders/GLTFLoader.js
@@ -1309,95 +1309,9 @@ THREE.GLTFLoader = ( function () { var morphPositions = accessors[ 0 ]; var morphNormals = accessors[ 1 ]; - // Clone morph target accessors before modifying them. - - for ( var i = 0, il = morphPositions.length; i < il; i ++ ) { - - if ( geometry.attributes.position === morphPos...
true
Other
mrdoob
three.js
e93499f020f483c6fa1659e46e7b51b4052d18b0.json
Use morphTargetsRelative in GLTF loader This uses the newly added functionality for loading morph target data in GLTF loader; there's no need to clone attribute data anymore.
examples/jsm/loaders/GLTFLoader.js
@@ -1373,95 +1373,9 @@ var GLTFLoader = ( function () { var morphPositions = accessors[ 0 ]; var morphNormals = accessors[ 1 ]; - // Clone morph target accessors before modifying them. - - for ( var i = 0, il = morphPositions.length; i < il; i ++ ) { - - if ( geometry.attributes.position === morphPosit...
true
Other
mrdoob
three.js
5b967be2564536429103c8d39647f0e888cb5a4e.json
Implement basic support for morphTargetsRelative This adds the attribute and the necessary plumbing for various JS functions; there's no support for specifying this for the shader to consume yet.
src/core/BufferGeometry.d.ts
@@ -40,6 +40,7 @@ export class BufferGeometry extends EventDispatcher { morphAttributes: { [name: string]: ( BufferAttribute | InterleavedBufferAttribute )[]; }; + morphTargetsRelative: boolean; groups: { start: number; count: number; materialIndex?: number }[]; boundingBox: Box3; boundingSphere: Sphere;
true
Other
mrdoob
three.js
5b967be2564536429103c8d39647f0e888cb5a4e.json
Implement basic support for morphTargetsRelative This adds the attribute and the necessary plumbing for various JS functions; there's no support for specifying this for the shader to consume yet.
src/core/BufferGeometry.js
@@ -37,6 +37,7 @@ function BufferGeometry() { this.attributes = {}; this.morphAttributes = {}; + this.morphTargetsRelative = false; this.groups = []; @@ -596,8 +597,17 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy var morphAttribute = morphAttributesPosition[ i ];...
true
Other
mrdoob
three.js
5b967be2564536429103c8d39647f0e888cb5a4e.json
Implement basic support for morphTargetsRelative This adds the attribute and the necessary plumbing for various JS functions; there's no support for specifying this for the shader to consume yet.
src/objects/Mesh.js
@@ -173,6 +173,7 @@ Mesh.prototype = Object.assign( Object.create( Object3D.prototype ), { var index = geometry.index; var position = geometry.attributes.position; var morphPosition = geometry.morphAttributes.position; + var morphTargetsRelative = geometry.morphTargetsRelative; var uv = geometry.attri...
true
Other
mrdoob
three.js
947a1c781f529a711756a0204a69b87b77fefcaf.json
Accept number in BufferAttribute definitions
src/core/BufferAttribute.d.ts
@@ -151,7 +151,7 @@ export class Float64Attribute extends BufferAttribute { export class Int8BufferAttribute extends BufferAttribute { constructor( - array: Iterable<number> | ArrayLike<number> | ArrayBuffer, + array: Iterable<number> | ArrayLike<number> | ArrayBuffer | number, itemSize: number, normalized...
false
Other
mrdoob
three.js
207637bac527962f493f2136bae10592f3b15fce.json
Fix some TypeScript definitions
src/core/BufferAttribute.d.ts
@@ -151,7 +151,7 @@ export class Float64Attribute extends BufferAttribute { export class Int8BufferAttribute extends BufferAttribute { constructor( - array: Iterable<number> | ArrayLike<number> | ArrayBuffer, + array: Iterable<number> | ArrayLike<number> | ArrayBuffer | number, itemSize: number, normalized...
true
Other
mrdoob
three.js
207637bac527962f493f2136bae10592f3b15fce.json
Fix some TypeScript definitions
src/core/BufferGeometry.d.ts
@@ -37,7 +37,9 @@ export class BufferGeometry extends EventDispatcher { attributes: { [name: string]: BufferAttribute | InterleavedBufferAttribute; }; - morphAttributes: any; + morphAttributes: { + [name: string]: ( BufferAttribute | InterleavedBufferAttribute )[]; + }; groups: { start: number; count: number;...
true
Other
mrdoob
three.js
207637bac527962f493f2136bae10592f3b15fce.json
Fix some TypeScript definitions
src/math/Interpolant.d.ts
@@ -2,13 +2,13 @@ export abstract class Interpolant { constructor( parameterPositions: any, - samplesValues: any, + sampleValues: any, sampleSize: number, resultBuffer?: any ); parameterPositions: any; - samplesValues: any; + sampleValues: any; valueSize: number; resultBuffer: any;
true
Other
mrdoob
three.js
a8f4ab24b462711c923f802c211141ed3160a7ce.json
fix gamedev.net link
docs/api/en/math/Matrix4.html
@@ -219,7 +219,7 @@ <h3>[method:this makeRotationAxis]( [param:Vector3 axis], [param:Float theta] )< Sets this matrix as rotation transform around [page:Vector3 axis] by [page:Float theta] radians.<br /> This is a somewhat controversial but mathematically sound alternative to rotating via [page:Quaternions]. - ...
false
Other
mrdoob
three.js
5da0acd70dd7060a68099b77b54b5c63fd8f4d71.json
Update JSM renderers
examples/jsm/renderers/CSS2DRenderer.js
@@ -5,7 +5,6 @@ import { Matrix4, Object3D, - REVISION, Vector3 } from "../../../build/three.module.js"; @@ -35,8 +34,6 @@ CSS2DObject.prototype.constructor = CSS2DObject; var CSS2DRenderer = function () { - console.log( 'THREE.CSS2DRenderer', REVISION ); - var _width, _height; var _widthHalf, _heigh...
true
Other
mrdoob
three.js
5da0acd70dd7060a68099b77b54b5c63fd8f4d71.json
Update JSM renderers
examples/jsm/renderers/CSS3DRenderer.js
@@ -7,7 +7,6 @@ import { Matrix4, Object3D, - REVISION, Vector3 } from "../../../build/three.module.js"; @@ -46,8 +45,6 @@ CSS3DSprite.prototype.constructor = CSS3DSprite; var CSS3DRenderer = function () { - console.log( 'THREE.CSS3DRenderer', REVISION ); - var _width, _height; var _widthHalf, _heigh...
true
Other
mrdoob
three.js
5da0acd70dd7060a68099b77b54b5c63fd8f4d71.json
Update JSM renderers
examples/jsm/renderers/RaytracingRenderer.js
@@ -8,14 +8,11 @@ import { Color, - EventDispatcher, - REVISION + EventDispatcher } from "../../../build/three.module.js"; var RaytracingRenderer = function ( parameters ) { - console.log( 'THREE.RaytracingRenderer', REVISION ); - parameters = parameters || {}; var scope = this;
true
Other
mrdoob
three.js
5da0acd70dd7060a68099b77b54b5c63fd8f4d71.json
Update JSM renderers
examples/jsm/renderers/SVGRenderer.js
@@ -10,7 +10,6 @@ import { Matrix3, Matrix4, Object3D, - REVISION, Vector3, VertexColors } from "../../../build/three.module.js"; @@ -32,8 +31,6 @@ SVGObject.prototype.constructor = SVGObject; var SVGRenderer = function () { - console.log( 'THREE.SVGRenderer', REVISION ); - var _this = this, _rende...
true
Other
mrdoob
three.js
5da0acd70dd7060a68099b77b54b5c63fd8f4d71.json
Update JSM renderers
examples/jsm/renderers/SoftwareRenderer.js
@@ -13,7 +13,6 @@ import { MeshBasicMaterial, MeshLambertMaterial, MeshPhongMaterial, - REVISION, SpriteMaterial, Vector2, Vector3, @@ -27,8 +26,6 @@ import { RenderableSprite } from "../renderers/Projector.js"; var SoftwareRenderer = function ( parameters ) { - console.log( 'THREE.SoftwareRenderer', R...
true
Other
mrdoob
three.js
6d2c2147dd6df44ad795b4a0742efdcaae672b2a.json
Remove revision in renderers of examples
examples/js/renderers/CSS2DRenderer.js
@@ -28,8 +28,6 @@ THREE.CSS2DObject.prototype.constructor = THREE.CSS2DObject; THREE.CSS2DRenderer = function () { - console.log( 'THREE.CSS2DRenderer', THREE.REVISION ); - var _width, _height; var _widthHalf, _heightHalf;
true
Other
mrdoob
three.js
6d2c2147dd6df44ad795b4a0742efdcaae672b2a.json
Remove revision in renderers of examples
examples/js/renderers/CSS3DRenderer.js
@@ -39,8 +39,6 @@ THREE.CSS3DSprite.prototype.constructor = THREE.CSS3DSprite; THREE.CSS3DRenderer = function () { - console.log( 'THREE.CSS3DRenderer', THREE.REVISION ); - var _width, _height; var _widthHalf, _heightHalf;
true
Other
mrdoob
three.js
6d2c2147dd6df44ad795b4a0742efdcaae672b2a.json
Remove revision in renderers of examples
examples/js/renderers/RaytracingRenderer.js
@@ -8,8 +8,6 @@ THREE.RaytracingRenderer = function ( parameters ) { - console.log( 'THREE.RaytracingRenderer', THREE.REVISION ); - parameters = parameters || {}; var scope = this;
true
Other
mrdoob
three.js
6d2c2147dd6df44ad795b4a0742efdcaae672b2a.json
Remove revision in renderers of examples
examples/js/renderers/RaytracingWorker.js
@@ -80,8 +80,6 @@ self.onmessage = function ( e ) { THREE.RaytracingRendererWorker = function () { - console.log( 'THREE.RaytracingRendererWorker', THREE.REVISION ); - var maxRecursionDepth = 3; var canvasWidth, canvasHeight;
true
Other
mrdoob
three.js
6d2c2147dd6df44ad795b4a0742efdcaae672b2a.json
Remove revision in renderers of examples
examples/js/renderers/SVGRenderer.js
@@ -15,8 +15,6 @@ THREE.SVGObject.prototype.constructor = THREE.SVGObject; THREE.SVGRenderer = function () { - console.log( 'THREE.SVGRenderer', THREE.REVISION ); - var _this = this, _renderData, _elements, _lights, _projector = new THREE.Projector(),
true
Other
mrdoob
three.js
6d2c2147dd6df44ad795b4a0742efdcaae672b2a.json
Remove revision in renderers of examples
examples/js/renderers/SoftwareRenderer.js
@@ -7,8 +7,6 @@ THREE.SoftwareRenderer = function ( parameters ) { - console.log( 'THREE.SoftwareRenderer', THREE.REVISION ); - parameters = parameters || {}; var canvas = parameters.canvas !== undefined
true
Other
mrdoob
three.js
5e26c0e1be1b3c6c095532f67f72807b651afc8a.json
Remove blank line
examples/jsm/loaders/LDrawLoader.d.ts
@@ -18,5 +18,4 @@ export class LDrawLoader { addMaterial(material: Material ): void; getMaterial(colourCode: string): Material | null; - }
false
Other
mrdoob
three.js
54e4a0dfb3d60a7a5d1c338581cc7cd933795952.json
Add missed files
examples/js/loaders/LDrawLoader.js
@@ -1,6 +1,7 @@ /** * @author mrdoob / http://mrdoob.com/ * @author yomboprime / https://github.com/yomboprime/ + * @author gkjohnson / https://github.com/gkjohnson/ * * */
true
Other
mrdoob
three.js
54e4a0dfb3d60a7a5d1c338581cc7cd933795952.json
Add missed files
examples/jsm/loaders/LDrawLoader.d.ts
@@ -0,0 +1,22 @@ +import { + LoadingManager, + Group, + Material +} from '../../../src/Three'; + +export class LDrawLoader { + constructor(manager?: LoadingManager); + manager: LoadingManager; + path: string; + + load(url: string, onLoad: (data: Group) => void, onProgress?: (event: ProgressEvent) => void, onError?: (ev...
true
Other
mrdoob
three.js
54e4a0dfb3d60a7a5d1c338581cc7cd933795952.json
Add missed files
examples/jsm/loaders/LDrawLoader.js
@@ -0,0 +1,1929 @@ +/** + * @author mrdoob / http://mrdoob.com/ + * @author yomboprime / https://github.com/yomboprime/ + * @author gkjohnson / https://github.com/gkjohnson/ + * + * + */ + +import { + BufferAttribute, + BufferGeometry, + Cache, + Color, + DefaultLoadingManager, + FileLoader, + Float32BufferAttribute, +...
true
Other
mrdoob
three.js
ee7db730d66fe264e6cdf8994505120b2762acf0.json
Update wrong description of Quaternion.inverse
docs/api/en/math/Quaternion.html
@@ -115,8 +115,7 @@ <h3>[method:Quaternion fromArray]( [param:Array array], [param:Integer offset] ) <h3>[method:Quaternion inverse]()</h3> <p> - Inverts this quaternion - calculate the [page:.conjugate conjugate] and then - [page:.normalize normalizes] the result. + Inverts this quaternion - calculates t...
false