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
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_materials_video.html
@@ -29,15 +29,13 @@ <script> - var AMOUNT = 100; - var container, stats; var camera, scene, renderer; var video, image, imageContext, - imageReflection, imageReflectionContext, imageReflectionGradient, - texture, textureReflection; + imageReflection, imageReflectionContext, imageReflecti...
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_morphtargets_horse.html
@@ -27,8 +27,7 @@ <script> var container, stats; - var camera, scene, projector, renderer; - var mesh, mixer; + var camera, scene, renderer, mixer; init(); animate(); @@ -62,7 +61,7 @@ scene.add( light ); var light = new THREE.DirectionalLight( 0xffefef, 1.5 ); - light.position.s...
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_particles_floor.html
@@ -53,9 +53,9 @@ var material = new THREE.SpriteMaterial(); - for ( var ix = 0; ix < AMOUNTX; ix++ ) { + for ( var ix = 0; ix < AMOUNTX; ix ++ ) { - for ( var iy = 0; iy < AMOUNTY; iy++ ) { + for ( var iy = 0; iy < AMOUNTY; iy ++ ) { particle = new THREE.Sprite( material ); par...
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_particles_random.html
@@ -59,7 +59,7 @@ group = new THREE.Group(); scene.add( group ); - for ( var i = 0; i < 1000; i++ ) { + for ( var i = 0; i < 1000; i ++ ) { var material = new THREE.SpriteCanvasMaterial( { color: Math.random() * 0x808008 + 0x808080, @@ -72,6 +72,7 @@ particle.position.z = Math.ran...
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_particles_sprites.html
@@ -54,13 +54,14 @@ blending: THREE.AdditiveBlending } ); - for ( var i = 0; i < 1000; i++ ) { + for ( var i = 0; i < 1000; i ++ ) { particle = new THREE.Sprite( material ); initParticle( particle, i * 10 ); scene.add( particle ); + } renderer = new THREE.CanvasRen...
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_particles_waves.html
@@ -170,7 +170,7 @@ for ( var iy = 0; iy < AMOUNTY; iy ++ ) { - particle = particles[ i++ ]; + particle = particles[ i ++ ]; particle.position.y = ( Math.sin( ( ix + count ) * 0.3 ) * 50 ) + ( Math.sin( ( iy + count ) * 0.5 ) * 50 ); particle.scale.x = particle.scale.y = ( Math...
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_performance.html
@@ -85,7 +85,7 @@ container.appendChild( renderer.domElement ); stats = new Stats(); - container.appendChild(stats.dom); + container.appendChild( stats.dom ); //
true
Other
mrdoob
three.js
e79b63e9db28426b9ebadb7342cd22034ace06ee.json
fix linter errors in canvas examples
examples/canvas_sandbox.html
@@ -27,8 +27,7 @@ var container, stats; - var camera, scene, renderer; - var controls, group; + var camera, scene, renderer, group; init(); animate(); @@ -87,7 +86,7 @@ container.appendChild( renderer.domElement ); stats = new Stats(); - container.appendChild(stats.dom); + cont...
true
Other
mrdoob
three.js
b59cdc0f95bb5244d278a48264d299058f73e3ae.json
Rename Texture3D to DataTexture3D
examples/webgl_materials_texture3d.html
@@ -119,7 +119,7 @@ var zip = new JSZip( data ); var array = zip.files[ 'head256x256x109' ].asUint8Array(); - var texture = new THREE.Texture3D( array, 256, 256, 109 ); + var texture = new THREE.DataTexture3D( array, 256, 256, 109 ); texture.format = THREE.RedFormat; texture.type = T...
true
Other
mrdoob
three.js
b59cdc0f95bb5244d278a48264d299058f73e3ae.json
Rename Texture3D to DataTexture3D
examples/webgl_materials_texture3d_volume.html
@@ -121,7 +121,7 @@ // THREEJS will select R32F (33326) based on the RedFormat and FloatType. // Also see https://www.khronos.org/registry/webgl/specs/latest/2.0/#TEXTURE_TYPES_FORMATS_FROM_DOM_ELEMENTS_TABLE // TODO: look the dtype up in the volume metadata - var texture = new THREE.Texture3D( volume...
true
Other
mrdoob
three.js
b59cdc0f95bb5244d278a48264d299058f73e3ae.json
Rename Texture3D to DataTexture3D
src/Three.js
@@ -24,7 +24,7 @@ export { Points } from './objects/Points.js'; export { Group } from './objects/Group.js'; export { VideoTexture } from './textures/VideoTexture.js'; export { DataTexture } from './textures/DataTexture.js'; -export { Texture3D } from './textures/Texture3D.js'; +export { DataTexture3D } from './textu...
true
Other
mrdoob
three.js
b59cdc0f95bb5244d278a48264d299058f73e3ae.json
Rename Texture3D to DataTexture3D
src/renderers/webgl/WebGLTextures.js
@@ -489,7 +489,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils, var textureType; - if ( texture.isTexture3D ) { + if ( texture.isDataTexture3D ) { textureType = _gl.TEXTURE_3D; @@ -648,7 +648,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilit...
true
Other
mrdoob
three.js
b59cdc0f95bb5244d278a48264d299058f73e3ae.json
Rename Texture3D to DataTexture3D
src/renderers/webgl/WebGLUniforms.js
@@ -51,10 +51,10 @@ import { CubeTexture } from '../../textures/CubeTexture.js'; import { Texture } from '../../textures/Texture.js'; -import { Texture3D } from '../../textures/Texture3D.js'; +import { DataTexture3D } from '../../textures/DataTexture3D.js'; var emptyTexture = new Texture(); -var emptyTexture3d =...
true
Other
mrdoob
three.js
b59cdc0f95bb5244d278a48264d299058f73e3ae.json
Rename Texture3D to DataTexture3D
src/textures/DataTexture3D.js
@@ -5,12 +5,12 @@ import { Texture } from './Texture.js'; import { NearestFilter } from '../constants.js'; -function Texture3D( data, width, height, depth ) { +function DataTexture3D( data, width, height, depth ) { // We're going to add .setXXX() methods for setting properties later. - // Users can still set in...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/api/en/animation/AnimationClip.html
@@ -96,10 +96,7 @@ <h3>[method:Array CreateClipsFromMorphTargetSequences]( [param:String name], [pa <p> Returns an array of new AnimationClips created from the [page:Geometry.morphTargets morph target sequences] of a geometry, trying to sort morph target names into animation-group-based - patterns like "Wa...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/api/en/loaders/JSONLoader.html
@@ -1,122 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8" /> - <base href="../../../" /> - <script src="list.js"></script> - <script src="page.js"></script> - <link type="text/css" rel="stylesheet" href="page.css" /> - </head> - <body> - <h1>[name]</h1> - - <p class="desc"> - A load...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/api/en/loaders/ObjectLoader.html
@@ -13,8 +13,6 @@ <h1>[name]</h1> <p class="desc"> A loader for loading a JSON resource in the [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].<br /><br /> - Note that this loader can't load geometries of type [page:Geometry]. Use [page:JSONLoader] instead f...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/api/zh/animation/AnimationClip.html
@@ -91,10 +91,7 @@ <h2>静态方法</h2> <h3>[method:Array CreateClipsFromMorphTargetSequences]( [param:String name], [param:Array morphTargetSequence], [param:Number fps], [param:Boolean noLoop] )</h3> <p> 返回从几何体的变形目标序列([page:Geometry.morphTargets morph - target sequences])创建的新动画剪辑(AnimationClip)数组,并尝试将变形目标名称分类为基于...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/api/zh/loaders/JSONLoader.html
@@ -1,119 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8" /> - <base href="../../../" /> - <script src="list.js"></script> - <script src="page.js"></script> - <link type="text/css" rel="stylesheet" href="page.css" /> - </head> - <body> - <h1>[name]</h1> - - <p class="desc"> - ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/api/zh/loaders/ObjectLoader.html
@@ -13,8 +13,6 @@ <h1>[name]</h1> <p class="desc"> A loader for loading a JSON resource in the [link:https://github.com/mrdoob/three.js/wiki/JSON-Object-Scene-format-4 JSON Object/Scene format].<br /><br /> - Note that this loader can't load geometries of type [page:Geometry]. Use [page:JSONLoader] instead f...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/list.js
@@ -233,7 +233,6 @@ var list = { "FontLoader": "api/en/loaders/FontLoader", "ImageBitmapLoader": "api/en/loaders/ImageBitmapLoader", "ImageLoader": "api/en/loaders/ImageLoader", - "JSONLoader": "api/en/loaders/JSONLoader", "Loader": "api/en/loaders/Loader", "LoaderUtils": "api/en/loaders/Loa...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/manual/en/introduction/Animation-system.html
@@ -107,7 +107,6 @@ <h3>Supported Formats and Loaders</h3> </p> <ul> - <li>[page:JSONLoader THREE.JSONLoader]</li> <li>[page:ObjectLoader THREE.ObjectLoader]</li> <li>THREE.BVHLoader</li> <li>THREE.ColladaLoader</li>
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/manual/en/introduction/Loading-3D-models.html
@@ -79,7 +79,7 @@ <h2>Recommended workflow</h2> <h2>Loading</h2> <p> - Only a few loaders ([page:ObjectLoader] and [page:JSONLoader]) are included by default with + Only a few loaders (e.g. [page:ObjectLoader]) are included by default with three.js — others should be added to your page individually. Dependin...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
docs/manual/zh/introduction/Animation-system.html
@@ -32,7 +32,7 @@ <h3>Animation Clips(动画片段)</h3> <br /><br /> 每个* AnimationClip *通常保存对象的某个活动的数据。 如果 mesh是一个字符,例如,可以有一个用于walkcycle的动画片段,第二个 - 跳跃,三分之一的回避等等。 + 跳跃,三分之一的回避等等。 </p> <h3>Keyframe Tracks(关键帧轨道)</h3> @@ -83,11 +83,10 @@ <h3>Supported Formats and Loaders(支持的格式和加载器)</h3> <p class="des...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
editor/js/Loader.js
@@ -576,50 +576,7 @@ var Loader = function ( editor ) { case 'geometry': - var loader = new THREE.JSONLoader(); - loader.setResourcePath( scope.texturePath ); - - var result = loader.parse( data ); - - var geometry = result.geometry; - var material; - - if ( result.materials !== undefined ) { ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
editor/js/libs/tern-threejs/threejs.js
@@ -1714,54 +1714,6 @@ "!doc": "A loader for loading an [page:Image].", "!type": "fn(manager: +THREE.LoadingManager)" }, - "JSONLoader": { - "!url": "http://threejs.org/docs/#Reference/loaders/JSONLoader", - "prototype": { - "!proto": "THREE.Loader.prototype", - "withCreden...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
examples/files.js
@@ -90,7 +90,6 @@ var files = { "webgl_loader_gltf", "webgl_loader_gltf_extensions", "webgl_loader_imagebitmap", - "webgl_loader_json", "webgl_loader_json_claraio", "webgl_loader_kmz", "webgl_loader_md2",
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
examples/js/loaders/deprecated/JSONLoader.js
@@ -0,0 +1,578 @@ +/** + * @author mrdoob / http://mrdoob.com/ + * @author alteredq / http://alteredqualia.com/ + */ + +THREE.JSONLoader = ( function () { + + function JSONLoader( manager ) { + + if ( typeof manager === 'boolean' ) { + + console.warn( 'THREE.JSONLoader: showStatus parameter has been removed from con...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
examples/webgl_loader_json.html
@@ -1,179 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <title>three.js webgl - loader -json</title> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> - <style> - body { - background:#777; - padding:0; - margin:0...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
src/Three.Legacy.js
@@ -44,7 +44,6 @@ import { FileLoader } from './loaders/FileLoader.js'; import { AudioLoader } from './loaders/AudioLoader.js'; import { CubeTextureLoader } from './loaders/CubeTextureLoader.js'; import { DataTextureLoader } from './loaders/DataTextureLoader.js'; -import { JSONLoader } from './loaders/JSONLoader.js'...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
src/Three.js
@@ -40,7 +40,6 @@ export { ObjectLoader } from './loaders/ObjectLoader.js'; export { MaterialLoader } from './loaders/MaterialLoader.js'; export { BufferGeometryLoader } from './loaders/BufferGeometryLoader.js'; export { DefaultLoadingManager, LoadingManager } from './loaders/LoadingManager.js'; -export { JSONLoader...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
src/loaders/JSONLoader.js
@@ -1,587 +0,0 @@ -import { Loader } from './Loader.js'; -import { LoaderUtils } from './LoaderUtils.js'; -import { AnimationClip } from '../animation/AnimationClip.js'; -import { Vector3 } from '../math/Vector3.js'; -import { Vector4 } from '../math/Vector4.js'; -import { Color } from '../math/Color.js'; -import { Vec...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
src/loaders/ObjectLoader.js
@@ -50,7 +50,6 @@ import { AnimationClip } from '../animation/AnimationClip.js'; import { MaterialLoader } from './MaterialLoader.js'; import { LoaderUtils } from './LoaderUtils.js'; import { BufferGeometryLoader } from './BufferGeometryLoader.js'; -import { JSONLoader } from './JSONLoader.js'; import { FileLoader ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/three.source.unit.js
@@ -161,7 +161,6 @@ import './unit/src/loaders/DataTextureLoader.tests'; import './unit/src/loaders/FileLoader.tests'; import './unit/src/loaders/FontLoader.tests'; import './unit/src/loaders/ImageLoader.tests'; -import './unit/src/loaders/JSONLoader.tests'; import './unit/src/loaders/Loader.tests'; import './unit...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/BoxGeometry.tests.js
@@ -6,57 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - BoxGeometry, BoxBufferGeometry } from '../../../../src/geometries/BoxGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'BoxGeometry', ( hooks ) => { - - var geometries = undefined; - hooks.bef...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/CircleGeometry.tests.js
@@ -6,57 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - CircleGeometry, CircleBufferGeometry } from '../../../../src/geometries/CircleGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'CircleGeometry', ( hooks ) => { - - var geometries = undefined; ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/ConeGeometry.tests.js
@@ -5,46 +5,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - ConeGeometry, ConeBufferGeometry } from '../../../../src/geometries/ConeGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'ConeGeometry', ( hooks ) => { - - var geometries = undefined; - hooks...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/CylinderGeometry.tests.js
@@ -6,65 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - CylinderGeometry, CylinderBufferGeometry } from '../../../../src/geometries/CylinderGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'CylinderGeometry', ( hooks ) => { - - var geometries = und...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/DodecahedronGeometry.tests.js
@@ -6,53 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - DodecahedronGeometry, DodecahedronBufferGeometry } from '../../../../src/geometries/DodecahedronGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'CircleGeometry', ( hooks ) => { - - var geomet...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/ExtrudeGeometry.tests.js
@@ -3,28 +3,10 @@ */ /* global QUnit */ -import { ExtrudeGeometry, ExtrudeBufferGeometry } from '../../../../src/geometries/ExtrudeGeometry'; +import { ExtrudeBufferGeometry } from '../../../../src/geometries/ExtrudeGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'ExtrudeGeometry...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/IcosahedronGeometry.tests.js
@@ -6,53 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - IcosahedronGeometry, IcosahedronBufferGeometry } from '../../../../src/geometries/IcosahedronGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'IcosahedronGeometry', ( hooks ) => { - - var geom...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/LatheGeometry.tests.js
@@ -5,54 +5,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - LatheGeometry, LatheBufferGeometry } from '../../../../src/geometries/LatheGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'LatheGeometry', ( hooks ) => { - - var geometries = undefined; - h...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/OctahedronGeometry.tests.js
@@ -6,53 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - OctahedronGeometry, OctahedronBufferGeometry } from '../../../../src/geometries/OctahedronGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'OctahedronGeometry', ( hooks ) => { - - var geometri...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/ParametricGeometry.tests.js
@@ -4,46 +4,11 @@ /* global QUnit */ import { - ParametricGeometry, ParametricBufferGeometry } from '../../../../src/geometries/ParametricGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'ParametricGeometry', ( hooks ) => { - - var geometries = undefined; - hooks.beforeEach( f...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/PlaneGeometry.tests.js
@@ -6,57 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - PlaneGeometry, PlaneBufferGeometry } from '../../../../src/geometries/PlaneGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'PlaneGeometry', ( hooks ) => { - - var geometries = undefined; - h...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/PolyhedronGeometry.tests.js
@@ -5,54 +5,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - PolyhedronGeometry, PolyhedronBufferGeometry } from '../../../../src/geometries/PolyhedronGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'PolyhedronGeometry', ( hooks ) => { - - var geometri...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/RingGeometry.tests.js
@@ -6,61 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - RingGeometry, RingBufferGeometry } from '../../../../src/geometries/RingGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'RingGeometry', ( hooks ) => { - - var geometries = undefined; - hooks...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/ShapeGeometry.tests.js
@@ -4,53 +4,13 @@ /* global QUnit */ import { - ShapeGeometry, ShapeBufferGeometry } from '../../../../src/geometries/ShapeGeometry'; import { Shape } from '../../../../src/extras/core/Shape'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'ShapeGeometry', ( hooks ) => { - - var geom...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/SphereGeometry.tests.js
@@ -6,63 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - SphereGeometry, SphereBufferGeometry } from '../../../../src/geometries/SphereGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'SphereGeometry', ( hooks ) => { - - var geometries = undefined; ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/TetrahedronGeometry.tests.js
@@ -6,7 +6,6 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - TetrahedronGeometry, TetrahedronBufferGeometry } from '../../../../src/geometries/TetrahedronGeometry'; @@ -23,9 +22,9 @@ export default QUnit.module( 'Geometries', () => { }; geometries = [ - new TetrahedronGeomet...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/TextGeometry.tests.js
@@ -4,46 +4,11 @@ /* global QUnit */ import { - TextGeometry, TextBufferGeometry } from '../../../../src/geometries/TextGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'TextGeometry', ( hooks ) => { - - var geometries = undefined; - hooks.beforeEach( function () { - - geome...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/TorusGeometry.tests.js
@@ -6,59 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - TorusGeometry, TorusBufferGeometry } from '../../../../src/geometries/TorusGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'TorusGeometry', ( hooks ) => { - - var geometries = undefined; - h...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/TorusKnotGeometry.tests.js
@@ -6,60 +6,11 @@ import { runStdGeometryTests } from '../../qunit-utils'; import { - TorusKnotGeometry, TorusKnotBufferGeometry } from '../../../../src/geometries/TorusKnotGeometry'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'SphereGeometry', ( hooks ) => { - - var geometries = un...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/geometries/TubeGeometry.tests.js
@@ -4,7 +4,6 @@ /* global QUnit */ import { - TubeGeometry, TubeBufferGeometry } from '../../../../src/geometries/TubeGeometry'; @@ -13,42 +12,6 @@ import { Vector3 } from '../../../../src/math/Vector3'; export default QUnit.module( 'Geometries', () => { - QUnit.module( 'TubeGeometry', ( hooks ) => { - - ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
test/unit/src/loaders/JSONLoader.tests.js
@@ -1,40 +0,0 @@ -/** - * @author TristanVALCKE / https://github.com/Itee - */ -/* global QUnit */ - -import { JSONLoader } from '../../../../src/loaders/JSONLoader'; - -export default QUnit.module( 'Loaders', () => { - - QUnit.module( 'JSONLoader', () => { - - // INSTANCING - QUnit.todo( "Instancing", ( assert ) => ...
true
Other
mrdoob
three.js
02d91338ea0dd6bb939a04f3d3b6af6591d2f391.json
Remove JSONLoader from core
utils/exporters/blender/README.md
@@ -1,3 +1,3 @@ # Three.js Blender Export -> **NOTICE:** The Blender exporter for the Three.js JSON format has been removed, to focus on better support for other workflows. For recommended alternatives, see [Loading 3D Models](https://threejs.org/docs/#manual/introduction/Loading-3D-models). The Three.js JSON format...
true
Other
mrdoob
three.js
9614c891972632ec8bbd33667e8024a144fe64d7.json
serialize userData in GLTFExporter
examples/js/exporters/GLTFExporter.js
@@ -1666,6 +1666,12 @@ THREE.GLTFExporter.prototype = { } + if ( scene.userData && Object.keys( scene.userData ).length > 0 ) { + + gltfScene.extras = serializeUserData( scene ); + + } + outputJSON.scenes.push( gltfScene ); var nodes = [];
false
Other
mrdoob
three.js
dfd536f1fa82dd353b6095caa2c719c61c194bb4.json
Update variable name
examples/webgl_tonemapping.html
@@ -74,7 +74,7 @@ Reinhard: THREE.ReinhardToneMapping, Uncharted2: THREE.Uncharted2ToneMapping, Cineon: THREE.CineonToneMapping, - ACESFilm: THREE.ACESFilmicToneMapping + ACESFilmic: THREE.ACESFilmicToneMapping }; var camera, scene, renderer, group;
false
Other
mrdoob
three.js
fbce5eb12dd71405c70f9318315c2289f746ac81.json
Update variable name
examples/webgl_tonemapping.html
@@ -74,7 +74,7 @@ Reinhard: THREE.ReinhardToneMapping, Uncharted2: THREE.Uncharted2ToneMapping, Cineon: THREE.CineonToneMapping, - ACESFilm: THREE.ACESFilmToneMapping + ACESFilm: THREE.ACESFilmicToneMapping }; var camera, scene, renderer, group;
true
Other
mrdoob
three.js
fbce5eb12dd71405c70f9318315c2289f746ac81.json
Update variable name
src/constants.js
@@ -55,7 +55,7 @@ export var LinearToneMapping = 1; export var ReinhardToneMapping = 2; export var Uncharted2ToneMapping = 3; export var CineonToneMapping = 4; -export var ACESFilmToneMapping = 5; +export var ACESFilmicToneMapping = 5; export var UVMapping = 300; export var CubeReflectionMapping = 301; export var...
true
Other
mrdoob
three.js
fbce5eb12dd71405c70f9318315c2289f746ac81.json
Update variable name
src/renderers/shaders/ShaderChunk/tonemapping_pars_fragment.glsl
@@ -41,7 +41,7 @@ vec3 OptimizedCineonToneMapping( vec3 color ) { } // source: https://knarkowicz.wordpress.com/2016/01/06/aces-filmic-tone-mapping-curve/ -vec3 ACESFilmToneMapping( vec3 color ) { +vec3 ACESFilmicToneMapping( vec3 color ) { color *= toneMappingExposure; return saturate( ( color * ( 2.51 * col...
true
Other
mrdoob
three.js
fbce5eb12dd71405c70f9318315c2289f746ac81.json
Update variable name
src/renderers/webgl/WebGLProgram.js
@@ -5,7 +5,7 @@ import { WebGLUniforms } from './WebGLUniforms.js'; import { WebGLShader } from './WebGLShader.js'; import { ShaderChunk } from '../shaders/ShaderChunk.js'; -import { NoToneMapping, AddOperation, MixOperation, MultiplyOperation, EquirectangularRefractionMapping, CubeRefractionMapping, SphericalReflec...
true
Other
mrdoob
three.js
a2d4580c66fdd9d577f96f67073692db49d5aa57.json
Update description and globe geometry radius
examples/webgl_lights_physical.html
@@ -36,7 +36,7 @@ <div id="container"></div> <div id="info"> <a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> - Physically accurate lighting example using a incandescent bulb - by <a href="http://clara.io" target="_blank" rel="noopener">Ben Houston</a><br /> - Using real world scale:...
false
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
docs/api/en/materials/Material.html
@@ -175,13 +175,6 @@ <h3>[property:Float opacity]</h3> Default is *1.0*. </p> - <h3>[property:Float overdraw]</h3> - <p> - Amount of triangle expansion at draw time. - This is a workaround for cases when gaps appear between triangles when using [page:CanvasRenderer]. - *0.5* tends to give good results acro...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
docs/scenes/js/material.js
@@ -302,7 +302,6 @@ function guiMaterial( gui, mesh, material, geometry ) { // folder.add( material, 'polygonOffsetFactor' ); // folder.add( material, 'polygonOffsetUnits' ); folder.add( material, 'alphaTest', 0, 1 ); - // folder.add( material, 'overdraw', 0, 5 ); folder.add( material, 'visible' ); folder.add...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
examples/misc_lights_test.html
@@ -67,7 +67,7 @@ // Spheres geometry = new THREE.SphereBufferGeometry( 100, 16, 8 ); - material = new THREE.MeshPhongMaterial( { color: 0xffffff, flatShading: true, overdraw: 0.5, shininess: 0 } ); + material = new THREE.MeshPhongMaterial( { color: 0xffffff, flatShading: true, shininess: 0 } ); ...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
examples/misc_ubiquity_test2.html
@@ -56,7 +56,7 @@ texture.wrapT = THREE.RepeatWrapping; var geometry = new THREE.BoxBufferGeometry( 150, 150, 150, 4, 4, 4 ); - var material = new THREE.MeshBasicMaterial( { map: texture, overdraw: 0.5 } ); + var material = new THREE.MeshBasicMaterial( { map: texture } ); mesh = new THREE.Mesh(...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
examples/software_geometry_earth.html
@@ -73,7 +73,7 @@ var geometry = new THREE.SphereBufferGeometry( 200, 20, 20 ); - var material = new THREE.MeshLambertMaterial( { map: texture, overdraw: 0.5 } ); + var material = new THREE.MeshLambertMaterial( { map: texture } ); var mesh = new THREE.Mesh( geometry, material ); group.add(...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
examples/software_sandbox.html
@@ -82,7 +82,7 @@ // Cube with texture var loader = new THREE.TextureLoader(); var map = loader.load( 'textures/brick_diffuse.jpg' ); - texCube = new THREE.Mesh( geometry, new THREE.MeshLambertMaterial( { map: map, overdraw: 0.5 } ) ); + texCube = new THREE.Mesh( geometry, new THREE.MeshLambertMate...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
examples/webgl_effects_peppersghost.html
@@ -104,7 +104,7 @@ geometry.addAttribute( 'color', new THREE.Float32BufferAttribute( colors, 3 ) ); - var material = new THREE.MeshBasicMaterial( { vertexColors: THREE.VertexColors, overdraw: 0.5 } ); + var material = new THREE.MeshBasicMaterial( { vertexColors: THREE.VertexColors } ); for ( var i = ...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
src/Three.Legacy.js
@@ -1288,6 +1288,20 @@ Object.defineProperties( Material.prototype, { } }, + + overdraw: { + get: function () { + + console.warn( 'THREE.Material: .overdraw has been removed.' ); + + }, + set: function () { + + console.warn( 'THREE.Material: .overdraw has been removed.' ); + + } + }, + wrapRGB: { ge...
true
Other
mrdoob
three.js
8f2439c2d0c71113c8c57096dc1c038260b83520.json
Remove Material.overdraw property
src/materials/Material.js
@@ -59,8 +59,6 @@ function Material() { this.alphaTest = 0; this.premultipliedAlpha = false; - this.overdraw = 0; // Overdrawn pixels (typically between 0 and 1) for fixing antialiasing gaps in CanvasRenderer - this.visible = true; this.userData = {}; @@ -118,11 +116,6 @@ Material.prototype = Object.assign(...
true
Other
mrdoob
three.js
a99eac6138a368f88c6639b4888d33c5a6c518ce.json
Fix copy and clone methods
src/objects/Line.js
@@ -244,9 +244,20 @@ Line.prototype = Object.assign( Object.create( Object3D.prototype ), { }() ), + copy: function ( source ) { + + Object3D.prototype.copy.call( this, source ); + + this.geometry.copy( source.geometry ); + this.material.copy( source.material ); + + return this; + + }, + clone: function () ...
false
Other
mrdoob
three.js
eb9a2e3af01eb013493c951091be0b8a527dbdd7.json
Update stats every frame
examples/misc_controls_trackball.html
@@ -154,14 +154,16 @@ function animate() { requestAnimationFrame( animate ); + controls.update(); + + stats.update(); } function render() { renderer.render( scene, camera ); - stats.update(); }
false
Other
mrdoob
three.js
dad0c8d2a7539c98dd70ceded270dd3ec76050aa.json
Fix incorrect body size
examples/misc_controls_trackball.html
@@ -5,7 +5,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> - html { + html, body { width: 100%; height: 100%; overflow: hidden;
false
Other
mrdoob
three.js
b63d0346f526a33cf16e016ed8764b34cf7921f9.json
Fix the overflowing div The side padding with 100% width causes the div to overflow the screen. So we remove the side padding (no used anyways), and also tell it to use box-sizing: border box to properly calculate the box sizing as expected.
examples/misc_controls_trackball.html
@@ -3,7 +3,7 @@ <head> <title>three.js webgl - trackball controls</title> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1"> + <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1...
false
Other
mrdoob
three.js
08f44d3078771f13e8568ba7dd91f6debe340bad.json
Fix code style to match ESLint requirements.
src/cameras/ArrayCamera.js
@@ -25,10 +25,12 @@ ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototyp * And that near and far planes are identical for both cameras. */ setProjectionFromUnion: function () { + var cameraLPos = new Vector3(); var cameraRPos = new Vector3(); return function () { + cam...
false
Other
mrdoob
three.js
f2b9480f63052645987c1cca78e7a0b970b49168.json
update logdepthbuf shader
src/renderers/shaders/ShaderChunk/logdepthbuf_pars_fragment.glsl
@@ -1,11 +1,6 @@ -#ifdef USE_LOGDEPTHBUF +#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) - uniform float logDepthBufFC; + uniform float logDepthBufFC; + varying float vFragDepth; - #ifdef USE_LOGDEPTHBUF_EXT - - varying float vFragDepth; - - #endif - -#endif +#endif \ No newline at end of f...
true
Other
mrdoob
three.js
f2b9480f63052645987c1cca78e7a0b970b49168.json
update logdepthbuf shader
src/renderers/shaders/ShaderChunk/logdepthbuf_pars_vertex.glsl
@@ -4,8 +4,10 @@ varying float vFragDepth; - #endif - - uniform float logDepthBufFC; + #else + + uniform float logDepthBufFC; + + #endif #endif \ No newline at end of file
true
Other
mrdoob
three.js
5703d81cb7f4faa29d201753c34f9464434fd9ce.json
Remove linter warning
src/extras/Earcut.js
@@ -167,7 +167,7 @@ function earcutLinked( ear, triangles, dim, minX, minY, invSize, pass ) { ear = cureLocalIntersections( ear, triangles, dim ); earcutLinked( ear, triangles, dim, minX, minY, invSize, 2 ); - // as a last resort, try splitting the remaining polygon into two + // as a last resort, try ...
false
Other
mrdoob
three.js
22f2fae48a7b1f393529e2c4257abc0a9a3e08b9.json
get draco version
examples/js/loaders/sea3d/SEA3DDraco.js
@@ -54,13 +54,14 @@ SEA3D.GeometryDraco = function ( name, data, sea3d ) { var module = SEA3D.GeometryDraco.getModule(), dracoData = new Int8Array( data.concat( data.position, data.bytesAvailable ).buffer ); + //data.position += 5; // jump "DRACO" magic string + //var version = data.readUByte() + '.' + data.read...
false
Other
mrdoob
three.js
5a0fe5c93314a7fbc8cd1cbee9269aaf585da0fb.json
Change varying name
src/renderers/shaders/ShaderChunk/fog_fragment.glsl
@@ -1,6 +1,6 @@ #ifdef USE_FOG - float fogDepth = length( fogPosition ); + float fogDepth = length( vFogPosition ); #ifdef FOG_EXP2
true
Other
mrdoob
three.js
5a0fe5c93314a7fbc8cd1cbee9269aaf585da0fb.json
Change varying name
src/renderers/shaders/ShaderChunk/fog_pars_fragment.glsl
@@ -1,7 +1,7 @@ #ifdef USE_FOG uniform vec3 fogColor; - varying vec3 fogPosition; + varying vec3 vFogPosition; #ifdef FOG_EXP2
true
Other
mrdoob
three.js
5a0fe5c93314a7fbc8cd1cbee9269aaf585da0fb.json
Change varying name
src/renderers/shaders/ShaderChunk/fog_pars_vertex.glsl
@@ -1,5 +1,5 @@ #ifdef USE_FOG - varying vec3 fogPosition; + varying vec3 vFogPosition; #endif
true
Other
mrdoob
three.js
5a0fe5c93314a7fbc8cd1cbee9269aaf585da0fb.json
Change varying name
src/renderers/shaders/ShaderChunk/fog_vertex.glsl
@@ -1,4 +1,5 @@ - #ifdef USE_FOG -fogPosition = mvPosition.xyz; -#endif \ No newline at end of file + + vFogPosition = mvPosition.xyz; + +#endif
true
Other
mrdoob
three.js
44db10ab50c1d6b2f18c97ebb4d08358750b5529.json
Add sizeAttenuation property
docs/api/materials/SpriteMaterial.html
@@ -67,8 +67,11 @@ <h3>[property:Texture map]</h3> <h3>[property:Radians rotation]</h3> <p>The rotation of the sprite in radians. Default is 0.</p> + <h3>[property:Boolean sizeAttenuation]</h3> + <p>Whether the size of the sprite is attenuated by the camera depth. (Perspective camera only.) Default is *true*....
true
Other
mrdoob
three.js
44db10ab50c1d6b2f18c97ebb4d08358750b5529.json
Add sizeAttenuation property
src/materials/SpriteMaterial.js
@@ -6,11 +6,9 @@ import { Color } from '../math/Color.js'; * * parameters = { * color: <hex>, - * opacity: <float>, * map: new THREE.Texture( <Image> ), - * - * uvOffset: new THREE.Vector2(), - * uvScale: new THREE.Vector2() + * rotation: <float>, + * sizeAttenuation: <bool> * } */ @@ -25,6 +23,8 @@ ...
true
Other
mrdoob
three.js
44db10ab50c1d6b2f18c97ebb4d08358750b5529.json
Add sizeAttenuation property
src/renderers/shaders/ShaderLib/sprite_vert.glsl
@@ -11,19 +11,24 @@ void main() { #include <uv_vertex> + vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); + vec2 scale; scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ...
true
Other
mrdoob
three.js
9796f88f0c84dff13ff3723dc7ff3f6da345c610.json
remove unnecessary calculation in Vector3.project
src/math/Vector3.js
@@ -318,7 +318,7 @@ Object.assign( Vector3.prototype, { return function project( camera ) { - matrix.multiplyMatrices( camera.projectionMatrix, matrix.getInverse( camera.matrixWorld ) ); + matrix.multiplyMatrices( camera.projectionMatrix, camera.matrixWorldInverse ); return this.applyMatrix4( matrix ); ...
false
Other
mrdoob
three.js
d6bbdf590fbb71f0216871b23f5eef3578dd4bdc.json
Remove an extra semicolon from 3D Texture example
examples/webgl_materials_texture_3d.html
@@ -191,7 +191,7 @@ } - mesh.material.uniforms.depth.value = value;; + mesh.material.uniforms.depth.value = value; }
false
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/LOD.html
@@ -10,17 +10,15 @@ <body> [page:Object3D] &rarr; - <h1>[name]</h1> + <h1>多细节层次([name],Levels of Detail)</h1> <p class="desc"> - Level of Detail - show meshes with more or less geometry based on distance from the camera.<br /><br /> - - Every level is associated with an object, and rendering can be s...
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/Line.html
@@ -10,20 +10,17 @@ <body> [page:Object3D] &rarr; - <h1>[name]</h1> + <h1>线([name])</h1> <p class="desc"> - A continuous line.<br /><br /> - - This is nearly the same - as [page:LineSegments]; the only difference is that it is rendered using - [link:https://developer.mozilla.org/en-US/docs/Web/API...
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/LineLoop.html
@@ -10,45 +10,43 @@ <body> [page:Object3D] &rarr; [page:Line] &rarr; - <h1>[name]</h1> + <h1>环线([name])</h1> <p class="desc"> - A continuous line that connects back to the start.<br /><br /> - - This is nearly the same as [page:Line]; the only difference is that it is rendered using - [link:https://...
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/LineSegments.html
@@ -10,44 +10,41 @@ <body> [page:Object3D] &rarr; [page:Line] &rarr; - <h1>[name]</h1> + <h1>线段([name])</h1> <p class="desc"> - A series of lines drawn between pairs of vertices.<br /><br /> - - This is nearly the same as [page:Line]; the only difference is that it is rendered using - [link:https://...
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/Mesh.html
@@ -10,15 +10,15 @@ <body> [page:Object3D] &rarr; - <h1>[name]</h1> + <h1>网格([name])</h1> <p class="desc"> - Class representing triangular [link:https://en.wikipedia.org/wiki/Polygon_mesh polygon mesh] based objects. - Also serves as a base for other classes such as [page:SkinnedMesh]. + 表示基于以三角形为[...
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/Points.html
@@ -1,78 +1,75 @@ <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="utf-8" /> - <base href="../../../" /> - <script src="list.js"></script> - <script src="page.js"></script> - <link type="text/css" rel="stylesheet" href="page.css" /> - </head> - <body> - [page:Object3D] &rarr; - <h1>[name]</h1> +<he...
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/Skeleton.html
@@ -103,7 +103,7 @@ <h3>[method:null update]()</h3> <h3>[method:Bone getBoneByName]( [param:String name] )</h3> <p> - name -- 匹配Bone对象中.name属性的字符串。<br /><br /> + name —— 匹配Bone对象中.name属性的字符串。<br /><br /> 在骨架中的骨骼数组中遍览,并返回第一个能够和name匹配上的骨骼对象。<br /> </p>
true
Other
mrdoob
three.js
9ee9259ed3db6a179ee9ba041e701d15991044c4.json
Finish the translation in the objects.
docs/api/zh/objects/Sprite.html
@@ -43,7 +43,7 @@ <h2>属性</h2> <h3>[property:Boolean isSprite]</h3> <p> 用于检查这个类或者其派生类是否为精灵,默认值为*true*。<br /><br /> - 你不应当对这个属性进行改变,因为它在使用,以用于优化。 + 你不应当对这个属性进行改变,因为它在内部使用,以用于优化。 </p>
true
Other
mrdoob
three.js
a6c3193465f533048d1608fbce30d3bbaf9e5d74.json
Translate some page in the object,and little fix.
docs/api/zh/cameras/Camera.html
@@ -34,7 +34,7 @@ <h3>[property:Boolean isCamera]</h3> 用于来检查这个类或者派生的类是否为摄像机,默认为*true*。 <br /><br /> - 你不应当对这个属性进行改变,因为它在内部由渲染器使用,以用于优化。 + 你不应当对这个属性进行改变,因为它在内部由渲染器使用,以用于优化。 </p> <h3>[property:Layers layers]</h3>
true
Other
mrdoob
three.js
a6c3193465f533048d1608fbce30d3bbaf9e5d74.json
Translate some page in the object,and little fix.
docs/api/zh/objects/Bone.html
@@ -10,14 +10,14 @@ <body> [page:Object3D] &rarr; - <h1>[name]</h1> + <h1>骨骼([name])</h1> <p class="desc"> - A bone which is part of a [page:Skeleton]. The skeleton in turn is used by the [page:SkinnedMesh]. - Bones are almost identical to a blank [page:Object3D]. + 骨骼是[page:Skeleton](骨架)的一部分。骨架是由[pag...
true