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
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_panorama_cube.html
@@ -96,7 +96,7 @@ var imageObj = new Image(); - imageObj.onload = function() { + imageObj.onload = function () { var canvas, context; var tileWidth = imageObj.height; @@ -108,7 +108,7 @@ canvas.height = tileWidth; canvas.width = tileWidth; context.drawImage( imageObj, tileWidth...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_panorama_dualfisheye.html
@@ -41,11 +41,14 @@ var camera, scene, renderer; var isUserInteracting = false, - onMouseDownMouseX = 0, onMouseDownMouseY = 0, - lon = 0, onMouseDownLon = 0, - lat = 0, onMouseDownLat = 0, - phi = 0, theta = 0, - distance = 500; + lon = 0, lat = 0, + phi = 0, theta = 0, + distance = 500, +...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_panorama_equirectangular.html
@@ -43,10 +43,10 @@ var camera, scene, renderer; var isUserInteracting = false, - onMouseDownMouseX = 0, onMouseDownMouseY = 0, - lon = 0, onMouseDownLon = 0, - lat = 0, onMouseDownLat = 0, - phi = 0, theta = 0; + onMouseDownMouseX = 0, onMouseDownMouseY = 0, + lon = 0, onMouseDownLon = 0, + ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_performance.html
@@ -103,7 +103,7 @@ } - function onDocumentMouseMove(event) { + function onDocumentMouseMove( event ) { mouseX = ( event.clientX - windowHalfX ) * 10; mouseY = ( event.clientY - windowHalfY ) * 10;
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_performance_doublesided.html
@@ -33,8 +33,6 @@ var camera, scene, renderer; - var mesh, geometry; - var mouseX = 0, mouseY = 0; var SCREEN_WIDTH = window.innerWidth, @@ -65,7 +63,7 @@ scene.add( light ); var light = new THREE.PointLight( 0xff1100, 1, 5500 ); - light.position.set( -4000, 0, 0 ); + light.positio...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_performance_static.html
@@ -25,8 +25,6 @@ var camera, scene, renderer; - var mesh, zmesh, lightMesh, geometry; - var mouseX = 0, mouseY = 0; var windowHalfX = window.innerWidth / 2; @@ -103,7 +101,7 @@ } - function onDocumentMouseMove(event) { + function onDocumentMouseMove( event ) { mouseX = ( event.cl...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_physics_cloth.html
@@ -21,9 +21,7 @@ padding: 5px; } - a { - color: #a06851; - } + a { color: #a06851; } </style> </head> <body> @@ -47,34 +45,27 @@ } - // - Global variables - - // Graphics variables var container, stats; var camera, controls, scene, renderer; var textureLoader; v...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_physics_rope.html
@@ -21,9 +21,7 @@ padding: 5px; } - a { - color: #a06851; - } + a { color: #a06851; } </style> </head> @@ -48,16 +46,14 @@ } - // - Global variables - - // Graphics variables var container, stats; var camera, controls, scene, renderer; var textureLoader; var clock...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_physics_terrain.html
@@ -1,439 +1,446 @@ <!DOCTYPE html> <html lang="en"> - <head> - <title>Ammo.js terrain heightfield demo</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 { - color: #61443e; - ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_physics_volume.html
@@ -21,9 +21,7 @@ padding: 5px; } - a { - color: #a06851; - } + a { color: #a06851; } </style> </head> <body> @@ -38,17 +36,13 @@ <script> - // Detects webgl - if ( WEBGL.isWebGLAvailable() === false ) { document.body.appendChild( WEBGL.getWebGLErrorMessage() ); docum...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_points_billboards.html
@@ -106,7 +106,7 @@ var gui = new dat.GUI(); - gui.add( material, 'sizeAttenuation' ).onChange( function() { + gui.add( material, 'sizeAttenuation' ).onChange( function () { material.needsUpdate = true; @@ -155,6 +155,7 @@ mouseY = event.touches[ 0 ].pageY - windowHalfY; } + } ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_points_dynamic.html
@@ -76,6 +76,8 @@ function init() { + var container = document.querySelector( '#container' ); + camera = new THREE.PerspectiveCamera( 20, window.innerWidth / window.innerHeight, 1, 50000 ); camera.position.set( 0, 700, 7000 ); @@ -91,37 +93,37 @@ var positions = combineBuffer( object, 'po...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_points_sprites.html
@@ -92,23 +92,23 @@ geometry.addAttribute( 'position', new THREE.Float32BufferAttribute( vertices, 3 ) ); parameters = [ - [ [ 1.0, 0.2, 0.5 ], sprite2, 20 ], - [ [ 0.95, 0.1, 0.5 ], sprite3, 15 ], - [ [ 0.90, 0.05, 0.5 ], sprite1, 10 ], - [ [ 0.85, 0, 0.5 ], sprite5, 8 ], - [ [ 0.80, 0,...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_advanced.html
@@ -87,7 +87,7 @@ var halfWidth = width / 2; var halfHeight = height / 2; - var materialColor, material2D, quadBG, quadMask, renderScene; + var quadBG, quadMask, renderScene; var delta = 0.01; @@ -100,7 +100,7 @@ // - cameraOrtho = new THREE.OrthographicCamera( -halfWidth, halfWidth, h...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_afterimage.html
@@ -30,7 +30,7 @@ <script> var camera, scene, renderer, composer; - var mesh, light; + var mesh; var afterimagePass; @@ -57,7 +57,7 @@ scene = new THREE.Scene(); scene.fog = new THREE.Fog( 0x000000, 1, 1000 ); - var geometry = new THREE.BoxBufferGeometry( 150, 150, 150, 2, 2, 2); + ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_backgrounds.html
@@ -56,7 +56,7 @@ var clearPass, texturePass, renderPass; var cameraP, cubeTexturePassP; //var cameraO, cubeTexturePassO; - var gui, stats, texture; + var gui, stats; var params = { @@ -131,13 +131,13 @@ cameraP = new THREE.PerspectiveCamera( 65, aspect, 1, 10 ); cameraP.position.z = 7...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_crossfade.html
@@ -22,9 +22,7 @@ width: 100%; } - .info a { - color: #00ffff; - } + a { color: #00ffff; } </style> </head> <body> @@ -68,10 +66,10 @@ stats = new Stats(); container.appendChild( stats.dom ); - var sceneA = new Scene( "cube", 5000, 1200, 120, new THREE.Vector3(0,-0.4,0), 0xffff...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_dof.html
@@ -16,9 +16,7 @@ text-align: center; } - a { - color: #0078ff; - } + a { color: #0078ff; } #info { color: #fff; @@ -67,7 +65,7 @@ var camera, scene, renderer, materials = [], objects = [], singleMaterial, zmaterial = [], - parameters, i, j, k, h, color, x, y, z, s, n, no...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_dof2.html
@@ -16,9 +16,7 @@ text-align:center; } - a { - color:#0078ff; - } + a { color:#0078ff; } #info { color:#fff; @@ -31,10 +29,10 @@ } </style> </head> -<!-- TODO -Setup Number Focus Test Plates -Use WEBGL Depth buffer support? ---> + <!-- TODO + Setup Number Focus Test Plates + Us...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_fxaa.html
@@ -55,6 +55,7 @@ var loader = new THREE.TextureLoader(); loader.load( "textures/fxaa_scene.png", function onLoad( texture ) { + var image = texture.image; texture.minFilter = THREE.LinearFilter; texture.magFilter = THREE.LinearFilter; @@ -75,7 +76,7 @@ scene1.add( quad1 ); sce...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_glitch.html
@@ -21,9 +21,7 @@ width: 100%; } - label, input { - cursor: pointer; - } + input { cursor: pointer; } </style> </head> <body> @@ -54,8 +52,10 @@ animate(); function updateOptions() { - var wildGlitch = document.getElementById('wildGlitch'); - glitchPass.goWild=wildGlitch.check...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_godrays.html
@@ -16,9 +16,7 @@ text-align:center; } - a { - color:#0078ff; - } + a { color:#0078ff; } #info { color:#fff; @@ -56,15 +54,15 @@ var sphereMesh; - var sunPosition = new THREE.Vector3( 0, 1000, -1000 ); + var sunPosition = new THREE.Vector3( 0, 1000, - 1000 ); var screenSpa...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_outline.html
@@ -126,13 +126,13 @@ var conf = new Configuration(); - var controllerVisible = gui.addColor( conf, 'visibleEdgeColor' ).onChange( function ( value ) { + gui.addColor( conf, 'visibleEdgeColor' ).onChange( function ( value ) { outlinePass.visibleEdgeColor.set( value ); } ); - var controllerH...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_procedural.html
@@ -81,10 +81,9 @@ <script> - var camera, postCamera, postScene, renderer; + var postCamera, postScene, renderer; var postMaterial, noiseRandom1DMaterial, noiseRandom2DMaterial, noiseRandom3DMaterial, postQuad; - var gui, stats, texture; - var index = 0; + var stats; var params = { procedure:...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_rgb_halftone.html
@@ -23,9 +23,7 @@ padding: 2px; } - .info a { - color: #00ffff; - } + a { color: #00ffff; } </style> </head> <body> @@ -103,24 +101,24 @@ "void main() {", - "vUV = uv;", - "vNormal = vec3( normal );", - "gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_sao.html
@@ -15,9 +15,7 @@ font-weight: bold; } - a { - color:#00ff78; - } + a { color:#00ff78; } #info { color: #fff; @@ -62,24 +60,8 @@ var container, stats; var camera, scene, renderer; - var depthMaterial, saoMaterial, saoModulateMaterial, normalMaterial, vBlurMaterial, hBlurMateri...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_smaa.html
@@ -36,7 +36,7 @@ init(); animate(); - function init( meshTexture ) { + function init() { var container = document.getElementById( "container" ); @@ -95,7 +95,7 @@ renderer.setSize( width, height ); var pixelRatio = renderer.getPixelRatio(); - var newWidth = Math.floor( width * pi...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_sobel.html
@@ -140,7 +140,7 @@ function onWindowResize() { - camera.aspect = window.innerWidth / window.innerHeight; + camera.aspect = window.innerWidth / window.innerHeight; camera.updateProjectionMatrix(); renderer.setSize( window.innerWidth, window.innerHeight );
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_ssaa.html
@@ -53,7 +53,7 @@ <script> var camera, scene, renderer, composer, copyPass, ssaaRenderPass; - var gui, stats, texture; + var gui, stats; var param = { sampleLevel: 2 @@ -146,7 +146,7 @@ renderer.setSize( width, height ); var pixelRatio = renderer.getPixelRatio(); - var newWidth =...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_ssaa_unbiased.html
@@ -55,7 +55,7 @@ var scene, renderer, composer, copyPass; var cameraP, ssaaRenderPassP; var cameraO, ssaaRenderPassO; - var gui, stats, texture; + var gui, stats; var params = { sampleLevel: 4, @@ -134,20 +134,20 @@ var light = new THREE.PointLight( 0xddffdd, 1.0 ); light.positio...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_ssao.html
@@ -22,9 +22,7 @@ font-weight: bold; } - a { - color:#00ff78; - } + a { color:#00ff78; } #info { color: #fff; @@ -127,10 +125,26 @@ var gui = new dat.GUI(); gui.add( postprocessing, 'enabled' ); - gui.add( postprocessing, 'onlyAO', false ).onChange( function( value ) { ssao...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_postprocessing_taa.html
@@ -55,7 +55,7 @@ <script> var camera, scene, renderer, composer, copyPass, taaRenderPass, renderPass; - var gui, stats, texture; + var gui, stats; var index = 0; var param = { TAAEnabled: "1", TAASampleLevel: 0 }; @@ -74,9 +74,9 @@ gui.add( param, 'TAAEnabled', { 'Disabled': '0', ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_raycast_texture.html
@@ -30,13 +30,9 @@ padding: 5px; } - .control { - margin-bottom: 3px; - } + .control { margin-bottom: 3px; } - input { - width: 50px; - } + input { width: 50px; } </style> </head> <body> @@ -88,7 +84,7 @@ var that = this; this._background = document.createElement( "img"...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_raymarching_reflect.html
@@ -266,6 +266,8 @@ var geometry, material, mesh; var stats; + var canvas = document.querySelector( '#canvas' ); + var config = { saveImage: function () {
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_rtt.html
@@ -22,9 +22,7 @@ padding: 5px; } - a { - color: #ffffff; - } + a { color: #ffffff; } </style> </head> @@ -114,7 +112,7 @@ camera = new THREE.PerspectiveCamera( 30, window.innerWidth / window.innerHeight, 1, 10000 ); camera.position.z = 100; - cameraRTT = new THREE.Orthographic...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_sandbox.html
@@ -24,9 +24,7 @@ z-index:1000; } - a { - color: #ffffff; - } + a { color: #ffffff; } </style> </head> @@ -48,8 +46,6 @@ var camera, scene, renderer; - var mesh, zmesh, lightMesh, geometry; - var mouseX = 0, mouseY = 0; var windowHalfX = window.innerWidth / 2; @@ -123,7 +1...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shader.html
@@ -23,10 +23,7 @@ padding: 5px; } - a { - - color: #ffffff; - } + a { color: #ffffff; } </style> </head> @@ -143,7 +140,7 @@ } - function onWindowResize( event ) { + function onWindowResize() { renderer.setSize( window.innerWidth, window.innerHeight );
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shader2.html
@@ -208,15 +208,15 @@ [ 'fragment_shader4', uniforms1 ] ]; - for( var i = 0; i < params.length; i++ ) { + for ( var i = 0; i < params.length; i ++ ) { var material = new THREE.ShaderMaterial( { uniforms: params[ i ][ 1 ], vertexShader: document.getElementById( 'vertexShader' )...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shader_lava.html
@@ -23,10 +23,7 @@ padding: 5px; } - a { - - color: #ffffff; - } + a { color: #ffffff; } #webglmessage a { color:#da0 } </style> @@ -202,7 +199,7 @@ } - function onWindowResize( event ) { + function onWindowResize() { renderer.setSize( window.innerWidth, window.innerHeigh...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shaders_ocean.html
@@ -90,13 +90,15 @@ textureWidth: 512, textureHeight: 512, waterNormals: new THREE.TextureLoader().load( 'textures/waternormals.jpg', function ( texture ) { + texture.wrapS = texture.wrapT = THREE.RepeatWrapping; - }), + + } ), alpha: 1.0, sunDirection: light.positio...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shaders_ocean2.html
@@ -16,12 +16,11 @@ top: 10px; width: 100%; } - a { - color: #09f; - } - #type-status { - font-weight: bold; - } + + a { color: #09f; } + + #type-status { font-weight: bold; } + </style> </head> <body>
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shaders_sky.html
@@ -27,9 +27,7 @@ } - a { - color: #fff; - } + a { color: #fff; } </style> </head> @@ -51,15 +49,12 @@ <script> - if ( WEBGL.isWebGLAvailable() === false ) { document.body.appendChild( WEBGL.getWebGLErrorMessage() ); } - var container; - var camera, controls, scen...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shaders_tonemapping.html
@@ -14,7 +14,6 @@ font-family:georgia; text-align:center; } - h1 { } a { color:skyblue; text-decoration:none } canvas { pointer-events:none; z-index:0; position:relative; } .label { background-color: black; position: absolute; z-index: 100; padding: 5px } @@ -72,7 +71,7 @@ var camera, sc...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shaders_vector.html
@@ -120,7 +120,7 @@ var vA = new THREE.Vector2(); var vB = new THREE.Vector2(); - function processShape( path, reverse ) { + function processShape( path ) { var pts = []; // bigger area (convex hull) var pts2 = []; // smaller area (full solid shapes) @@ -156,19 +156,19 @@ } els...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shading_physical.html
@@ -49,7 +49,7 @@ var camera, scene, renderer; - var mesh, geometry; + var mesh; var controls; @@ -67,7 +67,7 @@ shadowCameraNear: 750, shadowCameraFar: 4000, shadowCameraFov: 30, - shadowBias: -0.0002 + shadowBias: - 0.0002 }; @@ -145,7 +145,7 @@ addObject( torusGe...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shadowmap.html
@@ -20,7 +20,12 @@ z-index: 100; display:block; } - #info a { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer } + a { + color: #f00; + font-weight: bold; + text-decoration: underline; + cursor: pointer + } </style> </head> @@ -53,8 +58,6 @@ var SH...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shadowmap_performance.html
@@ -20,7 +20,11 @@ z-index: 100; display:block; } - #info a { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer } + a { color: #f00; + font-weight: bold; + text-decoration: underline; + cursor: pointer + } </style> </head> @@ -53,7 +57,7 @@ var SCREEN_WID...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shadowmap_pointlight.html
@@ -20,7 +20,7 @@ z-index: 100; display:block; } - #info a { + a { color: #f88; font-weight: bold; text-decoration: underline;
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shadowmap_viewer.html
@@ -20,7 +20,12 @@ z-index: 100; display:block; } - #info a { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer } + a { + color: #f00; + font-weight: bold; + text-decoration: underline; + cursor: pointer + } </style> </head> <body>
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_shadowmesh.html
@@ -47,7 +47,6 @@ var lightSphere, lightHolder; var pyramid, pyramidShadow; var sphere, sphereShadow; - var box, boxShadow; var cube, cubeShadow; var cylinder, cylinderShadow; var torus, torusShadow; @@ -70,7 +69,7 @@ renderer.setPixelRatio( window.devicePixelRatio ); renderer.setSiz...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_simple_gi.html
@@ -11,9 +11,7 @@ overflow: hidden; } - a { - color: #0078ff; - } + a { color: #0078ff; } #info { position: absolute; @@ -159,11 +157,11 @@ requestAnimationFrame( compute ); - } + }; // - var camera, scene, renderer, controls; + var camera, scene, renderer; ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_sprites.html
@@ -79,7 +79,7 @@ material = materialC.clone(); material.color.setHSL( 0.5 * Math.random(), 0.75, 0.5 ); - material.map.offset.set( -0.5, -0.5 ); + material.map.offset.set( - 0.5, - 0.5 ); material.map.repeat.set( 2, 2 ); } @@ -111,7 +111,7 @@ } - function createHUDSpr...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_sprites_nodes.html
@@ -23,7 +23,7 @@ display:block; } - a { color: white } + a { color: white; } </style> </head> <body>
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_terrain_dynamic.html
@@ -226,17 +226,13 @@ var terrain; - var textureCounter = 0; - - var animDelta = 0, animDeltaDir = -1; + var animDelta = 0, animDeltaDir = - 1; var lightVal = 0, lightDir = 1; var clock = new THREE.Clock(); var updateNoise = true; - var animateTerrain = false; - var mlib = {}; ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_test_memory2.html
@@ -107,16 +107,6 @@ } - // - - function animate() { - - requestAnimationFrame( animate ); - - render(); - - } - function render() { for ( var i = 0; i < N; i ++ ) {
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_tiled_forward.html
@@ -12,9 +12,7 @@ margin: 0px; overflow: hidden; } - a { - color: #f00; - } + a { color: #f00; } #info { position: absolute; @@ -89,7 +87,7 @@ '#endif' ].join( '\n' ); - var lights = [], objects = []; + var lights = []; var State = { rows: 0, @@ -194,7 +192,7 @@ ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_tonemapping.html
@@ -76,9 +76,9 @@ Cineon: THREE.CineonToneMapping }; - var camera, scene, renderer, controls, group; + var camera, scene, renderer, group; var composer; - var standardMaterial, standardMaterialPremultiplied, floorMaterial; + var standardMaterial, floorMaterial; init(); animate(); @@ -10...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_trails.html
@@ -96,7 +96,7 @@ } - function onDocumentMouseMove(event) { + function onDocumentMouseMove( event ) { mouseX = ( event.clientX - windowHalfX ) * 10; mouseY = ( event.clientY - windowHalfY ) * 10;
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_video_panorama_equirectangular.html
@@ -22,9 +22,7 @@ text-align:center; } - a { - color: #ffffff; - } + a { color: #ffffff; } </style> </head> <body> @@ -37,17 +35,14 @@ var camera, scene, renderer; - var texture_placeholder, - isUserInteracting = false, - onMouseDownMouseX = 0, onMouseDownMouseY = 0, - lon = 0...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_water.html
@@ -24,9 +24,7 @@ text-align:center; } - a { - color: #ffffff; - } + a { color: #ffffff; } </style> <script src="../build/three.js"></script> @@ -53,7 +51,7 @@ } - var scene, camera, clock, renderer, controls, water; + var scene, camera, clock, renderer, water; var torusKnot; ...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_water_flowmap.html
@@ -24,9 +24,7 @@ text-align:center; } - a { - color: #ffffff; - } + a { color: #ffffff; } </style> <script src="../build/three.js"></script> @@ -53,7 +51,7 @@ } - var scene, camera, renderer, controls, water; + var scene, camera, renderer, water; init(); animate(); @@ -79,1...
true
Other
mrdoob
three.js
a5b45d15ed3e18587fac1253aa96113549a22e3a.json
fix linter errors in webgl M to W
examples/webgl_worker_offscreencanvas.html
@@ -34,9 +34,7 @@ color: #ff0000; } - a { - color: #ffffff; - } + a { color: #ffffff; } </style> <script src="js/WebGL.js"></script> </head>
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/ArrowHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -12,10 +12,10 @@ <h1>[name]</h1> - <p class="desc">An 3D arrow object for visualizing directions.</p> + <p class="desc">用于模拟方向的3维箭头对象.</p> - <h2>Example</h2> + <h2>例子<...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/AxesHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -12,11 +12,11 @@ <h1>[name]</h1> - <p class="desc">An axis object to visualize the 3 axes in a simple way. <br /> - The X axis is red. The Y axis is green. The Z axis is bl...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/Box3Helper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,11 +13,11 @@ <h1>[name]</h1> <p class="desc"> - Helper object to visualize a [page:Box3]. + 模拟3维包围盒 [page:Box3] 的辅助对象. </p> - <h2>Example</h2> + <h2>例子</h2> ...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/BoxHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,14 +13,14 @@ <h1>[name]</h1> <p class="desc"> - Helper object to show the world-axis-aligned bounding box around an object. + 用于展示对象世界轴心对齐的包围盒的辅助对象. - Note that t...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/CameraHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,11 +13,11 @@ <h1>[name]</h1> <p class="desc"> - This helps with visualizing what a camera contains in its frustum.<br /> - It visualizes the frustum of a camera using a...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/DirectionalLightHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,12 +13,12 @@ <h1>[name]</h1> <p class="desc"> - Helper object to assist with visualizing a [page:DirectionalLight]'s effect on the scene. + 用于模拟场景中平行光 [page:Direction...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/FaceNormalsHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,16 +13,16 @@ <h1>[name]</h1> <p class="desc"> - Renders [page:ArrowHelper arrows] to visualize an object's [page:Face3 face] normals. - Requires that face normals ha...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/GridHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -12,10 +12,10 @@ <h1>[name]</h1> - <p class="desc">The GridHelper is an object to define grids. Grids are two-dimensional arrays of lines.</p> + <p class="desc">坐标格辅助对象. 坐标格...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/HemisphereLightHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,10 +13,11 @@ <h1>[name]</h1> <p class="desc"> - Creates a visual aid consisting of a spherical [page:Mesh] for a [page:HemisphereLight HemisphereLight]. + 创建一个虚拟的球形网格...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/PlaneHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,11 +13,11 @@ <h1>[name]</h1> <p class="desc"> - Helper object to visualize a [page:Plane]. + 用于模拟平面 [page:Plane] 的辅助对象. </p> - <h2>Example</h2> + <h2>例子</h2>...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/PointLightHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,12 +13,12 @@ <h1>[name]</h1> <p class="desc"> - This displays a helper object consisting of a spherical [page:Mesh] for visualizing - a [page:PointLight]. + 创建一个虚拟...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/PolarGridHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -12,10 +12,10 @@ <h1>[name]</h1> - <p class="desc">The PolarGridHelper is an object to define polar grids. Grids are two-dimensional arrays of lines.</p> + <p class="desc">极...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/RectAreaLightHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,10 +13,10 @@ <h1>[name]</h1> <p class="desc"> - Creates a visual aid for a [page:RectAreaLight]. + 创建一个表示 [page:RectAreaLight] 的辅助对象. </p> - <h3>Example</h3> + ...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/SkeletonHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,12 +13,12 @@ <h1>[name]</h1> <p class="desc"> - A helper object to assist with visualizing a [page:Skeleton Skeleton]. - The helper is renderered using a [page:LineBasi...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/SpotLightHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -12,16 +12,16 @@ <h1>[name]</h1> - <p class="desc">This displays a cone shaped helper object for a [page:SpotLight].</p> + <p class="desc">用于模拟聚光灯 [page:SpotLight] 的锥形辅助对象.<...
true
Other
mrdoob
three.js
0d33d726b7b6e6397e3c3c183c47b0a05bf444f7.json
translate helper folder
docs/api/zh/helpers/VertexNormalsHelper.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="zh"> <head> <meta charset="utf-8" /> <base href="../../../" /> @@ -13,14 +13,14 @@ <h1>[name]</h1> <p class="desc"> - Renders [page:ArrowHelper arrows] to visualize an object's vertex normal vectors. - Requires that normals have been sp...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_animation_skinning_blending.html
@@ -183,23 +183,39 @@ var folder6 = panel.addFolder( 'General Speed' ); settings = { - 'show model': true, - 'show skeleton': false, - 'deactivate all': deactivateAllActions, - 'activate all': activateAllActions, - 'pause/continue': pauseContinue...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_animation_skinning_morph.html
@@ -53,9 +53,9 @@ var SCREEN_WIDTH = window.innerWidth; var SCREEN_HEIGHT = window.innerHeight; - var FLOOR = -250; + var FLOOR = - 250; - var container,stats; + var container, stats; var camera, scene; var renderer; @@ -99,7 +99,7 @@ var ground = new THREE.Mesh( geometry, material ...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry.html
@@ -77,7 +77,7 @@ scene.add( light1 ); var light2 = new THREE.DirectionalLight( 0xffffff, 1.5 ); - light2.position.set( 0, -1, 0 ); + light2.position.set( 0, - 1, 0 ); scene.add( light2 ); // @@ -160,7 +160,11 @@ } - function disposeArray() { this.array = null; } + function ...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_constructed_from_geometry.html
@@ -192,7 +192,7 @@ } - function animate( time ) { + function animate() { requestAnimationFrame( animate );
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_custom_attributes_particles.html
@@ -99,22 +99,22 @@ uniforms = { - texture: { value: new THREE.TextureLoader().load( "textures/sprites/spark1.png" ) } + texture: { value: new THREE.TextureLoader().load( "textures/sprites/spark1.png" ) } }; var shaderMaterial = new THREE.ShaderMaterial( { - uniforms: uniforms, - ...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_drawcalls.html
@@ -73,17 +73,25 @@ var gui = new dat.GUI(); - gui.add( effectController, "showDots" ).onChange( function( value ) { pointCloud.visible = value; } ); - gui.add( effectController, "showLines" ).onChange( function( value ) { linesMesh.visible = value; } ); + gui.add( effectController, "showDots" ).onCha...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_instancing.html
@@ -141,8 +141,8 @@ var orientationsStart = []; var orientationsEnd = []; - positions.push( 0.025, -0.025, 0 ); - positions.push( -0.025, 0.025, 0 ); + positions.push( 0.025, - 0.025, 0 ); + positions.push( - 0.025, 0.025, 0 ); positions.push( 0, 0, 0.025 ); // instanced attributes @@ -233,7...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_instancing2.html
@@ -222,7 +222,7 @@ } - function onWindowResize( event ) { + function onWindowResize() { camera.aspect = window.innerWidth / window.innerHeight; camera.updateProjectionMatrix();
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_instancing_billboards.html
@@ -126,8 +126,10 @@ renderer = new THREE.WebGLRenderer(); if ( renderer.extensions.get( 'ANGLE_instanced_arrays' ) === null ) { + document.getElementById( 'notSupported' ).style.display = ''; return false; + } container = document.createElement( 'div' );
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_instancing_interleaved_dynamic.html
@@ -120,7 +120,6 @@ container = document.getElementById( 'container' ); camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 1, 1000 ); - //camera.position.z = 20; scene = new THREE.Scene(); scene.background = new THREE.Color( 0x101010 ); @@ -137,35 +136,35 @@ // only us...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_instancing_lambert.html
@@ -319,7 +319,7 @@ } ); material.defines = material.defines || {}; - material.defines[ 'INSTANCED'] = ""; + material.defines[ 'INSTANCED' ] = ""; // custom depth material - required for instanced shadows @@ -373,7 +373,7 @@ } - function onWindowResize( event ) { + function onWindowResize...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_lines_indexed.html
@@ -90,7 +90,7 @@ } // simple Koch curve - + function snowflake_iteration( p0, p4, depth ) { if ( -- depth < 0 ) { @@ -128,7 +128,7 @@ add_vertex( points[ 0 ] ); - for ( var p_index=0, p_count = points.length - 1; p_index != p_count; p_index ++ ) { + for ( var p_index =...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_rawshader.html
@@ -170,7 +170,7 @@ } - function onWindowResize( event ) { + function onWindowResize() { camera.aspect = window.innerWidth / window.innerHeight; camera.updateProjectionMatrix();
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_buffergeometry_uint.html
@@ -77,7 +77,7 @@ scene.add( light1 ); var light2 = new THREE.DirectionalLight( 0xffffff, 1.5 ); - light2.position.set( 0, -1, 0 ); + light2.position.set( 0, - 1, 0 ); scene.add( light2 ); //
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_camera.html
@@ -23,12 +23,9 @@ z-index: 100; } - a { - - color: #0080ff; - } - + a {color: #0080ff; } b { color: lightgreen } + </style> </head> <body> @@ -125,9 +122,9 @@ for ( var i = 0; i < 10000; i ++ ) { - vertices.push( THREE.Math.randFloatSpread( 2000 ) ); // x - vertices.pus...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_camera_cinematic.html
@@ -86,7 +86,7 @@ window.addEventListener( 'resize', onWindowResize, false ); - var effectController = { + var effectController = { focalLength: 15, // jsDepthCalculation: true, @@ -114,7 +114,7 @@ }; - var matChanger = function( ) { + var matChanger = function ( ) { ...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_camera_logarithmicdepthbuffer.html
@@ -40,10 +40,6 @@ display: block; text-align: center; } - .renderer_label.renderer_label_normal { - } - .renderer_label.renderer_label_logzbuf { - } #container { white-space: nowrap; } @@ -75,7 +71,7 @@ <body> <div id="container"> - <div id="container_normal"><h2 class="rend...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_clipping.html
@@ -72,15 +72,15 @@ // Geometry var material = new THREE.MeshPhongMaterial( { - color: 0x80ee10, - shininess: 100, - side: THREE.DoubleSide, + color: 0x80ee10, + shininess: 100, + side: THREE.DoubleSide, - // ***** Clipping setup (material): ***** - clippingPlanes: [ l...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_clipping_advanced.html
@@ -23,6 +23,7 @@ <script> function planesFromMesh( vertices, indices ) { + // creates a clipping volume from a convex triangular mesh // specified by the arrays 'vertices' and 'indices' @@ -31,12 +32,12 @@ for ( var i = 0, j = 0; i < n; ++ i, j += 3 ) { - var a = vertices[ indices[ ...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_custom_attributes.html
@@ -110,8 +110,8 @@ uniforms = { amplitude: { value: 1.0 }, - color: { value: new THREE.Color( 0xff2200 ) }, - texture: { value: new THREE.TextureLoader().load( "textures/water.jpg" ) } + color: { value: new THREE.Color( 0xff2200 ) }, + texture: { value: new THREE.TextureLoader().load( "tex...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_custom_attributes_lines.html
@@ -104,21 +104,21 @@ uniforms = { amplitude: { value: 5.0 }, - opacity: { value: 0.3 }, - color: { value: new THREE.Color( 0xffffff ) } + opacity: { value: 0.3 }, + color: { value: new THREE.Color( 0xffffff ) } }; var shaderMaterial = new THREE.ShaderMaterial( { - uniforms...
true
Other
mrdoob
three.js
4894f4e44448fdf18ea5f4181e4eba252e276a88.json
Fix linter errors in examples WebGL A-L
examples/webgl_custom_attributes_points.html
@@ -87,8 +87,6 @@ var sphere; - var noise = []; - var WIDTH = window.innerWidth; var HEIGHT = window.innerHeight; @@ -146,17 +144,17 @@ uniforms: { amplitude: { value: 1.0 }, - color: { value: new THREE.Color( 0xffffff ) }, - texture: { value: new THREE.TextureLoader().load( "...
true