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 | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/utils/UVsDebug.js | @@ -115,5 +115,5 @@ THREE.UVsDebug = function( geometry, size ) {
return canvas;
-}
+};
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/ProxyGeometry.js | @@ -106,7 +106,7 @@ THREE.ProxyGeometry.prototype.createVertexProxies = function(values) {
return this.vertices;
-}
+};
THREE.ProxyGeometry.prototype.createFaceProxies = function(values) {
@@ -214,7 +214,7 @@ THREE.ProxyGeometry.prototype.createFaceProxies = function(values) {
return this.faces;
-}
+};... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/benchmark/Geometry4.js | @@ -33,7 +33,7 @@ THREE.VectorArrayProxy = function(attribute) {
}
-}
+};
THREE.VectorArrayProxy.prototype.getValue = function(i) {
@@ -51,21 +51,21 @@ THREE.VectorArrayProxy.prototype.getValue = function(i) {
}
-}
+};
THREE.VectorArrayProxy.prototype.setValue = function(i, v) {
var vec = this[i];... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/benchmark/TypedGeometry.js | @@ -138,7 +138,7 @@ THREE.TypedFace.prototype = {
}
-}
+};
THREE.TypedGeometry = function ( size ) { | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/proxies/MultiColor.js | @@ -5,7 +5,7 @@ THREE.MultiColor = function(links) {
this.links = links;
-}
+};
THREE.MultiColor.prototype = Object.create( THREE.Color.prototype );
THREE.MultiColor.prototype.constructor = THREE.MultiColor;
@@ -18,7 +18,7 @@ THREE.MultiColor.prototype.setAll = function(axis, value) {
}
-}
+};
// Get... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/proxies/MultiVector3.js | @@ -5,7 +5,7 @@ THREE.MultiVector3 = function(links) {
this.links = links;
-}
+};
THREE.MultiVector3.prototype = Object.create( THREE.Vector3.prototype );
THREE.MultiVector3.prototype.constructor = THREE.MultiVector3;
@@ -18,7 +18,7 @@ THREE.MultiVector3.prototype.setAll = function(axis, value) {
}
-}
+... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/proxies/ProxyColor.js | @@ -8,7 +8,7 @@ THREE.ProxyColor = function ( array, offset ) {
this.array = array;
this.offset = offset;
-}
+};
THREE.ProxyColor.prototype = Object.create( THREE.Color.prototype );
THREE.ProxyColor.prototype.constructor = THREE.ProxyColor; | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/js/wip/proxies/ProxyFace3.js | @@ -15,7 +15,7 @@ THREE.ProxyFace3 = function ( array, offset, vertexNormals, vertexColors, vertex
//THREE.Face3.call( this, array[offset], array[offset+1], array[offset+2] /*, normal, color, materialIndex */);
-}
+};
THREE.ProxyFace3.prototype = Object.create( THREE.Face3.prototype );
THREE.ProxyFace3.protot... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/misc_animation_keys.html | @@ -82,7 +82,7 @@
renderer.setSize( window.innerWidth, window.innerHeight );
- }
+ };
var createScene = function(){
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/misc_controls_deviceorientation.html | @@ -41,7 +41,7 @@
<script>
(function() {
- "use strict"
+ "use strict";
window.addEventListener('load', function() {
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/misc_controls_pointerlock.html | @@ -113,13 +113,13 @@
}
- }
+ };
var pointerlockerror = function ( event ) {
instructions.style.display = '';
- }
+ };
// Hook pointer lock state change events
document.addEventListener( 'pointerlockchange', pointerlockchange, false );
@@ -149,7 +149,7 @@
elem... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/misc_fps.html | @@ -70,7 +70,7 @@
keysPressed[watchedKeyCodes[index]] = down; e.preventDefault();
}
};
- }
+ };
window.addEventListener( "keydown", handler( true ), false );
window.addEventListener( "keyup", handler( false ), false );
})([ | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/misc_sound.html | @@ -122,7 +122,7 @@
var helper = new THREE.GridHelper( 500, 10 );
helper.color1.setHex( 0x444444 );
helper.color2.setHex( 0x444444 );
- helper.position.y = 0.1
+ helper.position.y = 0.1;
scene.add( helper );
// | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/raytracing_sandbox.html | @@ -209,14 +209,14 @@
plane = new THREE.Mesh( planeGeometry, phongMaterialBoxLeft );
plane.rotation.z = 1.57;
- plane.position.set( -300, 0, -300 )
+ plane.position.set( -300, 0, -300 );
scene.add( plane );
// right
plane = new THREE.Mesh( planeGeometry, phongMaterialBoxRight );
... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_buffergeometry_drawcalls.html | @@ -64,7 +64,7 @@
limitConnections: false,
maxConnections: 20,
particleCount: 500
- }
+ };
init();
animate(); | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_effects_parallaxbarrier.html | @@ -277,7 +277,7 @@
"Darkgray shiny": new THREE.MeshPhongMaterial( { color: 0x000000, specular: 0x050505 } ),
"Gray shiny": new THREE.MeshPhongMaterial( { color: 0x050505, shininess: 20 } )
- }
+ };
// Gallardo materials
@@ -303,7 +303,7 @@
]
- }
+ };
m = CARS[ "gallar... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_geometry_dynamic.html | @@ -80,7 +80,7 @@
controls = new THREE.FirstPersonControls( camera );
controls.movementSpeed = 500;
- controls.lookSpeed = 0.1
+ controls.lookSpeed = 0.1;
scene = new THREE.Scene();
scene.fog = new THREE.FogExp2( 0xaaccff, 0.0007 ); | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_geometry_normals.html | @@ -36,7 +36,7 @@
return klass.apply( this, args );
- }
+ };
F.prototype = klass.prototype;
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_gpgpu_birds.html | @@ -453,7 +453,7 @@
this.applyMatrix( new THREE.Matrix4().makeScale( 0.2, 0.2, 0.2 ) );
- }
+ };
THREE.BirdGeometry.prototype = Object.create( THREE.BufferGeometry.prototype );
@@ -662,7 +662,7 @@
function render() {
- var now = performance.now()
+ var now = performance.now();
va... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_interactive_particles.html | @@ -158,7 +158,7 @@
//
raycaster = new THREE.Raycaster();
- mouse = new THREE.Vector2()
+ mouse = new THREE.Vector2();
//
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_lensflares.html | @@ -78,7 +78,7 @@
controls.domElement = container;
controls.rollSpeed = Math.PI / 6;
controls.autoForward = false;
- controls.dragToLook = false
+ controls.dragToLook = false;
// scene
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_lights_hemisphere.html | @@ -184,7 +184,7 @@
bottomColor: { type: "c", value: new THREE.Color( 0xffffff ) },
offset: { type: "f", value: 33 },
exponent: { type: "f", value: 0.6 }
- }
+ };
uniforms.topColor.value.copy( hemiLight.color );
scene.fog.color.copy( uniforms.bottomColor.value ); | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_loader_awd.html | @@ -139,7 +139,7 @@
var timer = Date.now() * 0.0005;
pointLight.position.x = Math.sin( timer * 4 ) * 3000;
- pointLight.position.y = 600
+ pointLight.position.y = 600;
pointLight.position.z = Math.cos( timer * 4 ) * 3000;
renderer.render( scene, camera ); | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_loader_collada_kinematics.html | @@ -151,17 +151,17 @@
var duration = getRandomInt(1000, 5000);
- var target = {}
+ var target = {};
for ( var i = 0; i < kinematics.joints.length; i++ ) {
var joint = kinematics.joints[ i ];
var old = tweenParameters[ i ];
- var position = old ? old : joint.zeroPosition
+ ... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_loader_ply.html | @@ -146,7 +146,7 @@
function addShadowedLight( x, y, z, color, intensity ) {
var directionalLight = new THREE.DirectionalLight( color, intensity );
- directionalLight.position.set( x, y, z )
+ directionalLight.position.set( x, y, z );
scene.add( directionalLight );
directionalLight.castShad... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_loader_scene.html | @@ -187,7 +187,7 @@
$( "bar" ).style.width = bar + "px";
- }
+ };
var callbackFinished = function ( result ) {
@@ -233,7 +233,7 @@
scene = loaded.scene;
- }
+ };
$( "progress" ).style.display = "block";
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_loader_stl.html | @@ -201,7 +201,7 @@
function addShadowedLight( x, y, z, color, intensity ) {
var directionalLight = new THREE.DirectionalLight( color, intensity );
- directionalLight.position.set( x, y, z )
+ directionalLight.position.set( x, y, z );
scene.add( directionalLight );
directionalLight.castShad... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_bumpmap.html | @@ -165,7 +165,7 @@
mapHeight.anisotropy = 4;
mapHeight.repeat.set( 0.998, 0.998 );
- mapHeight.offset.set( 0.001, 0.001 )
+ mapHeight.offset.set( 0.001, 0.001 );
mapHeight.wrapS = mapHeight.wrapT = THREE.RepeatWrapping;
mapHeight.format = THREE.RGBFormat;
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_bumpmap_skin.html | @@ -236,23 +236,23 @@
mapHeight.anisotropy = 4;
mapHeight.repeat.set( 0.998, 0.998 );
- mapHeight.offset.set( 0.001, 0.001 )
+ mapHeight.offset.set( 0.001, 0.001 );
mapHeight.wrapS = mapHeight.wrapT = THREE.RepeatWrapping;
mapHeight.format = THREE.RGBFormat;
var mapSpecular = THREE.Im... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_cars.html | @@ -282,7 +282,7 @@
"Darkgray shiny": new THREE.MeshPhongMaterial( { color: 0x000000, specular: 0x050505 } ),
"Gray shiny": new THREE.MeshPhongMaterial( { color: 0x050505, shininess: 20 } )
- }
+ };
// Gallardo materials
@@ -308,7 +308,7 @@
]
- }
+ };
m = CARS[ "gallar... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_cubemap.html | @@ -114,7 +114,7 @@
//var cubeMaterial3 = new THREE.MeshPhongMaterial( { color: 0x000000, specular:0xaa0000, envMap: reflectionCube, combine: THREE.MixOperation, reflectivity: 0.25 } );
var cubeMaterial3 = new THREE.MeshLambertMaterial( { color: 0xff6600, envMap: reflectionCube, combine: THREE.MixOperation, r... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_cubemap_dynamic.html | @@ -228,7 +228,7 @@
"Black metal": new THREE.MeshLambertMaterial( { color: 0x222222, envMap: cubeTarget, combine: THREE.MultiplyOperation } ),
"Orange metal": new THREE.MeshLambertMaterial( { color: 0xff6600, envMap: cubeTarget, combine: THREE.MultiplyOperation } )
- }
+ };
mlib.body.push( [ ... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_cubemap_escher.html | @@ -90,7 +90,7 @@
var loader = new THREE.DDSLoader();
var textureCube = loader.load( urls );
- var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: textureCube } )
+ var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: textureCube } );
var geometry = new TH... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_cubemap_refraction.html | @@ -107,7 +107,7 @@
var cubeMaterial3 = new THREE.MeshBasicMaterial( { color: 0xccddff, envMap: textureCube, refractionRatio: 0.98, reflectivity:0.9 } );
var cubeMaterial2 = new THREE.MeshBasicMaterial( { color: 0xccfffd, envMap: textureCube, refractionRatio: 0.985 } );
- var cubeMaterial1 = new THREE.Me... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_lightmap.html | @@ -114,7 +114,7 @@
bottomColor: { type: "c", value: new THREE.Color( 0xffffff ) },
offset: { type: "f", value: 400 },
exponent: { type: "f", value: 0.6 }
- }
+ };
uniforms.topColor.value.copy( hemiLight.color );
scene.fog.color.copy( uniforms.bottomColor.value ); | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_texture_compressed.html | @@ -93,7 +93,7 @@
map6.anisotropy = 4;
var cubemap1 = loader.load( 'textures/compressed/Mountains.dds', function ( texture ) {
- texture.magFilter = THREE.LinearFilter
+ texture.magFilter = THREE.LinearFilter;
texture.minFilter = THREE.LinearFilter;
texture.mapping = THREE.CubeReflection... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_materials_texture_pvrtc.html | @@ -155,7 +155,7 @@
scene.add( mesh );
meshes.push( mesh );
- var torus = new THREE.TorusGeometry( 100, 50, 32, 24 )
+ var torus = new THREE.TorusGeometry( 100, 50, 32, 24 );
mesh = new THREE.Mesh( torus, material6 );
mesh.position.x = 166; | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_modifier_subdivision.html | @@ -38,7 +38,7 @@
return klass.apply( this, args );
- }
+ };
F.prototype = klass.prototype;
@@ -242,7 +242,7 @@
scene.add( group );
var material = new THREE.MeshBasicMaterial( { color: 0xfefefe, wireframe: true, opacity: 0.5 } );
- var mesh = new THREE.Mesh( geometry, material... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_morphtargets_human.html | @@ -114,7 +114,7 @@
setupMorphsGUI();
gui.width = 300;
gui.open();
- }
+ };
var loader = new THREE.XHRLoader();
loader.load("models/skinned/UCS_config.json", function ( text ) {
@@ -146,7 +146,7 @@
return function () {
character.setSkin( index );
};
- }
+ ... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_morphtargets_md2.html | @@ -210,7 +210,7 @@
setupWeaponsGUI( character );
setupGUIAnimations( character );
- }
+ };
character.loadParts( config );
@@ -259,7 +259,7 @@
return function () { character.setWeapon( index ); };
- }
+ };
var guiItems = [];
@@ -284,7 +284,7 @@
return functi... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_nearestneighbour.html | @@ -76,7 +76,7 @@
var objects = [];
var amountOfParticles = 500000, maxDistance = Math.pow(120, 2);
- var positions, alphas, particles, _particleGeom
+ var positions, alphas, particles, _particleGeom;
var clock = new THREE.Clock();
@@ -188,7 +188,7 @@
//
displayNearest(camera.position);
... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_objects_update.html | @@ -64,17 +64,17 @@
object = createObject( createMeshFaceMaterial(), 4 );
object.position.set( -400, 0, 200 );
scene.add( object );
- objectNewGeometry = object
+ objectNewGeometry = object;
object = createObject( createMeshFaceMaterial(), 4 );
object.position.set( -200, 0, 200 );
... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_octree_raycasting.html | @@ -196,7 +196,7 @@
checkbox.id = "octreeToggle";
checkbox.checked = true;
- var label = document.createElement('label')
+ var label = document.createElement('label');
label.htmlFor = "octreeToggle";
label.appendChild(document.createTextNode('Use Octree') );
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_particles_shapes.html | @@ -229,7 +229,7 @@
}
- console.log( "pool ran out!" )
+ console.log( "pool ran out!" );
return null;
}, | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_postprocessing_dof2.html | @@ -342,7 +342,7 @@
gui.add( effectController, "bias", 0,3, 0.001 ).onChange( matChanger );
gui.add( effectController, "fringe", 0, 5, 0.001 ).onChange( matChanger );
- gui.add( effectController, "focalLength", 16, 80, 0.001 ).onChange( matChanger )
+ gui.add( effectController, "focalLength", 16, 80, ... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_sandbox.html | @@ -79,7 +79,7 @@
var texture1 = new THREE.Texture( generateTexture( 0, 0.5, 1 ), THREE.UVMapping );
var texture2 = new THREE.Texture( generateTexture( 0, 1, 0 ), THREE.SphericalReflectionMapping );
- var texture3 = THREE.ImageUtils.loadTexture( 'textures/land_ocean_ice_cloud_2048.jpg' )
+ var texture... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_shaders_ocean.html | @@ -61,7 +61,7 @@
depth: 1500,
param: 4,
filterparam: 1
- }
+ };
var waterNormals;
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_shaders_sky.html | @@ -92,7 +92,7 @@
inclination: 0.49, // elevation / inclination
azimuth: 0.25, // Facing front,
sun: !true
- }
+ };
var distance = 400000;
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgl_test_memory.html | @@ -77,7 +77,7 @@
var texture = new THREE.Texture( createImage() );
texture.needsUpdate = true;
- var material = new THREE.MeshBasicMaterial( { map: texture, wireframe: true } )
+ var material = new THREE.MeshBasicMaterial( { map: texture, wireframe: true } );
var mesh = new THREE.Mesh( geometr... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | examples/webgldeferred_pointlights.html | @@ -226,7 +226,7 @@
var mapColor = THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Map-COL.jpg" );
var mapHeight = THREE.ImageUtils.loadTexture( "obj/leeperrysmith/Infinite-Level_02_Disp_NoSmoothUV-4096.jpg" );
mapHeight.repeat.set( 0.998, 0.998 );
- mapHeight.offset.set( 0.001, 0.001 )
+ map... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/Three.js | @@ -28,9 +28,9 @@ if ( Math.sign === undefined ) {
// set the default log handlers
-THREE.log = function() { console.log.apply( console, arguments ); }
-THREE.warn = function() { console.warn.apply( console, arguments ); }
-THREE.error = function() { console.error.apply( console, arguments ); }
+THREE.log = functi... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/cameras/PerspectiveCamera.js | @@ -38,7 +38,7 @@ THREE.PerspectiveCamera.prototype.setLens = function ( focalLength, frameHeight
this.fov = 2 * THREE.Math.radToDeg( Math.atan( frameHeight / ( focalLength * 2 ) ) );
this.updateProjectionMatrix();
-}
+};
/** | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/core/BufferGeometry.js | @@ -252,7 +252,7 @@ THREE.BufferGeometry.prototype = {
}
- this.computeBoundingSphere()
+ this.computeBoundingSphere();
return this;
@@ -884,7 +884,7 @@ THREE.BufferGeometry.prototype = {
version: 4.4,
type: 'BufferGeometry',
generator: 'BufferGeometry.toJSON'
- }
+ };
// standard Buf... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/core/EventDispatcher.js | @@ -2,7 +2,7 @@
* https://github.com/mrdoob/eventdispatcher.js/
*/
-THREE.EventDispatcher = function () {}
+THREE.EventDispatcher = function () {};
THREE.EventDispatcher.prototype = {
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/core/Face4.js | @@ -4,7 +4,7 @@
THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) {
- THREE.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.' )
+ THREE.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.' );
return new THREE.Face3( a, b, c, normal, color, mate... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/core/Object3D.js | @@ -584,7 +584,7 @@ THREE.Object3D.prototype = {
meta = {
geometries: {},
materials: {}
- }
+ };
// add metadata
metadata = { | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/extras/FontUtils.js | @@ -430,8 +430,8 @@ THREE.FontUtils.generateShapes = function ( text, parameters ) {
for ( p = 0; p < n; p ++ ) {
- px = contour[ verts[ p ] ].x
- py = contour[ verts[ p ] ].y
+ px = contour[ verts[ p ] ].x;
+ py = contour[ verts[ p ] ].y;
if ( ( ( px === ax ) && ( py === ay ) ) ||
( ( px ===... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/extras/ImageUtils.js | @@ -67,7 +67,7 @@ THREE.ImageUtils = {
}, undefined, onError );
- }
+ };
for ( var i = 0, il = array.length; i < il; ++ i ) {
@@ -99,20 +99,20 @@ THREE.ImageUtils = {
return [ a[ 1 ] * b[ 2 ] - a[ 2 ] * b[ 1 ], a[ 2 ] * b[ 0 ] - a[ 0 ] * b[ 2 ], a[ 0 ] * b[ 1 ] - a[ 1 ] * b[ 0 ] ];
- }
+ };
... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/extras/curves/SplineCurve.js | @@ -19,10 +19,10 @@ THREE.SplineCurve.prototype.getPoint = function ( t ) {
var intPoint = Math.floor( point );
var weight = point - intPoint;
- var point0 = points[ intPoint == 0 ? intPoint : intPoint - 1 ]
- var point1 = points[ intPoint ]
- var point2 = points[ intPoint > points.length - 2 ? points.length - 1 ... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/extras/geometries/ExtrudeGeometry.js | @@ -234,7 +234,7 @@ THREE.ExtrudeGeometry.prototype.addShape = function ( shape, options ) {
// Don't normalize!, otherwise sharp corners become ugly
// but prevent crazy spikes
- var v_trans_lensq = ( v_trans_x * v_trans_x + v_trans_y * v_trans_y )
+ var v_trans_lensq = ( v_trans_x * v_trans_x + v_trans... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/extras/helpers/GridHelper.js | @@ -37,4 +37,4 @@ THREE.GridHelper.prototype.setColors = function( colorCenterLine, colorGrid ) {
this.geometry.colorsNeedUpdate = true;
-}
+}; | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/loaders/ImageLoader.js | @@ -73,4 +73,4 @@ THREE.ImageLoader.prototype = {
}
-}
+}; | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/loaders/JSONLoader.js | @@ -240,7 +240,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) {
uvLayer = json.uvs[ i ];
geometry.faceVertexUvs[ i ][ fi ] = [];
- geometry.faceVertexUvs[ i ][ fi + 1 ] = []
+ geometry.faceVertexUvs[ i ][ fi + 1 ] = [];
for ( j = 0; j < 4; j ++ ) {
| true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/loaders/Loader.js | @@ -181,7 +181,7 @@ THREE.Loader.prototype = {
var wrapMap = {
'repeat': THREE.RepeatWrapping,
'mirror': THREE.MirroredRepeatWrapping
- }
+ };
if ( wrapMap[ wrap[ 0 ] ] !== undefined ) texture.wrapS = wrapMap[ wrap[ 0 ] ];
if ( wrapMap[ wrap[ 1 ] ] !== undefined ) texture.wrapT... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/materials/Material.js | @@ -117,7 +117,7 @@ THREE.Material.prototype = {
version: 4.4,
type: 'Material',
generator: 'Material.toJSON'
- }
+ };
// standard Material serialization
data.type = this.type; | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/math/Quaternion.js | @@ -519,4 +519,4 @@ THREE.Quaternion.slerp = function ( qa, qb, qm, t ) {
return qm.copy( qa ).slerp( qb, t );
-}
+}; | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/renderers/webgl/WebGLBuffers.js | @@ -432,7 +432,7 @@ THREE.WebGLBuffers = function ( gl, info, extensions, getBufferMaterial ) {
}
- }
+ };
this.setLineBuffers = function ( geometry, hint ) {
@@ -604,7 +604,7 @@ THREE.WebGLBuffers = function ( gl, info, extensions, getBufferMaterial ) {
}
- }
+ };
function materialNeedsFaceNorm... | true |
Other | mrdoob | three.js | eb68622a6e8431450c40361cccd0061514d2f711.json | Add missing semicolons | src/renderers/webgl/plugins/LensFlarePlugin.js | @@ -250,7 +250,7 @@ THREE.LensFlarePlugin = function ( renderer, flares ) {
attributes = {
vertex: gl.getAttribLocation ( program, "position" ),
uv: gl.getAttribLocation ( program, "uv" )
- }
+ };
uniforms = {
renderType: gl.getUniformLocation( program, "renderType" ),
@@ -329,7 +329,7 @@ ... | true |
Other | mrdoob | three.js | 6a9b1ec65745d1bc10f9b89b5b4612fae92561b2.json | Allow multiple sensors, exclude phantom Carboard | examples/js/controls/VRControls.js | @@ -9,18 +9,46 @@ THREE.VRControls = function ( object, onError ) {
var vrInputs = [];
+ function filterInvalidDevices( devices ) {
+
+ var
+ OculusDeviceId = 'HMDInfo-dev-0x421e7eb800',
+ CardboardDeviceId = 'HMDInfo-dev-0x421e7ecc00';
+
+
+ // Exclude Cardboard position sensor if Oculus exists.
+ var ocu... | false |
Other | mrdoob | three.js | f507558bf30d38cf179ceca1eee92505ca0cf5e7.json | Add depth function to materials
Fixes #6266 | src/Three.js | @@ -115,6 +115,17 @@ THREE.DstColorFactor = 208;
THREE.OneMinusDstColorFactor = 209;
THREE.SrcAlphaSaturateFactor = 210;
+// depth modes
+
+THREE.NeverDepth = 0;
+THREE.AlwaysDepth = 1;
+THREE.LessDepth = 2;
+THREE.LessEqualDepth = 3;
+THREE.EqualDepth = 4;
+THREE.GreaterEqualDepth = 5;
+THREE.GreaterDepth = 6;
+TH... | true |
Other | mrdoob | three.js | f507558bf30d38cf179ceca1eee92505ca0cf5e7.json | Add depth function to materials
Fixes #6266 | src/materials/Material.js | @@ -26,6 +26,7 @@ THREE.Material = function () {
this.blendDstAlpha = null;
this.blendEquationAlpha = null;
+ this.depthFunc = THREE.LessEqualDepth;
this.depthTest = true;
this.depthWrite = true;
@@ -152,6 +153,7 @@ THREE.Material.prototype = {
material.blendDstAlpha = this.blendDstAlpha;
material.ble... | true |
Other | mrdoob | three.js | f507558bf30d38cf179ceca1eee92505ca0cf5e7.json | Add depth function to materials
Fixes #6266 | src/renderers/WebGLRenderer.js | @@ -2464,6 +2464,7 @@ THREE.WebGLRenderer = function ( parameters ) {
}
+ state.setDepthFunc( material.depthFunc );
state.setDepthTest( material.depthTest );
state.setDepthWrite( material.depthWrite );
state.setColorWrite( material.colorWrite ); | true |
Other | mrdoob | three.js | f507558bf30d38cf179ceca1eee92505ca0cf5e7.json | Add depth function to materials
Fixes #6266 | src/renderers/webgl/WebGLState.js | @@ -15,6 +15,7 @@ THREE.WebGLState = function ( gl, paramThreeToGL ) {
var currentBlendSrcAlpha = null;
var currentBlendDstAlpha = null;
+ var currentDepthFunc = null;
var currentDepthTest = null;
var currentDepthWrite = null;
@@ -150,6 +151,71 @@ THREE.WebGLState = function ( gl, paramThreeToGL ) {
};
... | true |
Other | mrdoob | three.js | a9e0b9de16960b04389bec9ee64c105d80d0e9c2.json | Reuse program when not changed
Resuse program if code is the same and material updated | src/renderers/WebGLRenderer.js | @@ -2244,30 +2244,8 @@ THREE.WebGLRenderer = function ( parameters ) {
function initMaterial( material, lights, fog, object ) {
- material.addEventListener( 'dispose', onMaterialDispose );
-
var shaderID = shaderIDs[ material.type ];
- if ( shaderID ) {
-
- var shader = THREE.ShaderLib[ shaderID ];
-
- ... | false |
Other | mrdoob | three.js | c12770459e4d7405d28f580cce903c270e4f36bf.json | change *copy; to © | LICENSE | @@ -1,6 +1,6 @@
The MIT License
-Copyright © 2010-2015 three.js authors
+Copyright © 2010-2015 three.js authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal | false |
Other | mrdoob | three.js | b70a1b989a58840f5ba357834271faddf5aab9eb.json | Improve description of default shader parameters | docs/api/renderers/webgl/WebGLProgram.html | @@ -11,43 +11,88 @@ <h1>[name]</h1>
<div class="desc">Constructor for the GLSL program sent to vertex and fragment shaders, including default uniforms and attributes.</div>
+ <h2>Built-in uniforms and attributes</h2>
+
+ <h3>Vertex shader (unconditional):</h3>
+ <div>
+ <code>
+ // = object.matrixWorld
+ u... | false |
Other | mrdoob | three.js | b0dbff42d281c9b1850825674aa22d08981133b4.json | Add methods .merge and .makegroups | docs/api/core/Geometry.html | @@ -225,12 +225,18 @@ <h3>.computeBoundingSphere()</h3>
<div>Neither bounding boxes or bounding spheres are computed by default. They need to be explicitly computed, otherwise they are *null*.</div>
+ <h3>.merge( [page:Geometry geometry], [page:Matrix4 matrix], [page:Integer materialIndexOffset] )</h3>
+ <di... | false |
Other | mrdoob | three.js | 2bbd16e3be2be4a6870e333cdcbe743db83bf028.json | add the tga texture loader example | examples/webgl_materials_texture_tga.html | @@ -0,0 +1,145 @@
+<!DOCTYPE html>
+<!--
+@author Daosheng Mu / https://github.com/DaoshengMu/
+-->
+<html>
+ <head>
+ <title>three.js webgl - materials - tga texture</title>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximu... | false |
Other | mrdoob | three.js | d24518dca32645d2bea0e8460181b00332d6c6bd.json | hide lens flare if not visible | src/extras/renderers/plugins/LensFlarePlugin.js | @@ -158,6 +158,9 @@ THREE.LensFlarePlugin = function () {
flare = flares[ i ];
+ if (!flare.visible)
+ continue;
+
tempPosition.set( flare.matrixWorld.elements[12], flare.matrixWorld.elements[13], flare.matrixWorld.elements[14] );
tempPosition.applyMatrix4( camera.matrixWorldInverse ); | false |
Other | mrdoob | three.js | 26df5b70aa1fbc1fd6d1ef3ef93b997a4a51a8d7.json | update setLength documentation to reflect code | docs/api/extras/helpers/ArrowHelper.html | @@ -70,9 +70,11 @@ <h3>.setColor([page:Number hex])</h3>
Sets the color of the arrowHelper.
</div>
- <h3>.setLength([page:Number length])</h3>
+ <h3>.setLength([page:Number length], [page:Number headLength], [page:Number headWidth])</h3>
<div>
- length -- The desired length
+ length -- The desired length... | false |
Other | mrdoob | three.js | 1fbe53e84dac9ea47ba9c6487e84e4e47904f04f.json | Remove unused variable in example | examples/webgl_lines_cubes.html | @@ -67,7 +67,7 @@
function init() {
- var i, material, container;
+ var i, container;
container = document.createElement( 'div' );
document.body.appendChild( container ); | false |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/shaders/ShaderChunk/default_vertex.glsl | @@ -1,21 +1,15 @@
-vec4 mvPosition;
-
#ifdef USE_SKINNING
- mvPosition = modelViewMatrix * skinned;
-
-#endif
+ vec4 mvPosition = modelViewMatrix * skinned;
-#if !defined( USE_SKINNING ) && defined( USE_MORPHTARGETS )
+#elif defined( USE_MORPHTARGETS )
- mvPosition = modelViewMatrix * vec4( morphed, 1.0 );
-
-#e... | true |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/shaders/ShaderChunk/defaultnormal_vertex.glsl | @@ -1,20 +1,14 @@
-vec3 objectNormal;
-
#ifdef USE_SKINNING
- objectNormal = skinnedNormal.xyz;
-
-#endif
+ vec3 objectNormal = skinnedNormal.xyz;
-#if !defined( USE_SKINNING ) && defined( USE_MORPHNORMALS )
+#elif defined( USE_MORPHNORMALS )
- objectNormal = morphedNormal;
-
-#endif
+ vec3 objectNormal = morphe... | true |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/shaders/ShaderChunk/envmap_fragment.glsl | @@ -1,7 +1,5 @@
#ifdef USE_ENVMAP
- vec3 reflectVec;
-
#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )
vec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );
@@ -13,17 +11,17 @@
#ifdef ENVMAP_MODE_REFLECTION
- reflectVec = reflect( cameraToVertex, worldNormal )... | true |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/shaders/ShaderChunk/envmap_vertex.glsl | @@ -9,7 +9,7 @@
vReflect = reflect( cameraToVertex, worldNormal );
- #elif defined( ENVMAP_MODE_REFRACTION )
+ #else
vReflect = refract( cameraToVertex, worldNormal, refractionRatio );
| true |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/shaders/ShaderChunk/worldpos_vertex.glsl | @@ -4,18 +4,14 @@
vec4 worldPosition = modelMatrix * skinned;
- #endif
-
- #if defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )
+ #elif defined( USE_MORPHTARGETS )
vec4 worldPosition = modelMatrix * vec4( morphed, 1.0 );
- #endif
-
- #if ! defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )
+... | true |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/shaders/ShaderLib.js | @@ -1026,16 +1026,15 @@ THREE.ShaderLib = {
" if ( enableReflection ) {",
- " vec3 vReflect;",
" vec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );",
" #ifdef ENVMAP_MODE_REFLECTION",
- " vReflect = reflect( cameraToVertex, normal );",
+ " vec3 vReflect = reflect( camer... | true |
Other | mrdoob | three.js | 7f7629ab0d1f461f06efc1674084841ac3ada74a.json | glsl clean up | src/renderers/webgl/WebGLProgram.js | @@ -345,6 +345,8 @@ THREE.WebGLProgram = ( function () {
if ( _gl.getProgramInfoLog( program ) !== '' ) {
console.warn( 'THREE.WebGLProgram: gl.getProgramInfoLog()', _gl.getProgramInfoLog( program ) );
+ // console.warn( _gl.getExtension( 'WEBGL_debug_shaders' ).getTranslatedShaderSource( glVertexShader ) );... | true |
Other | mrdoob | three.js | 078c31024f930020645e46c50ee414c23bb21ca4.json | WebGLRenderTarget missed todos | docs/api/renderers/WebGLRenderTarget.html | @@ -74,22 +74,22 @@ <h3>[property:number type]</h3>
<h3>[property:boolean depthBuffer]</h3>
<div>
- todo
+ Renders to the depth buffer. Default is true.
</div>
<h3>[property:boolean stencilBuffer]</h3>
<div>
- todo
+ Renders to the stencil buffer. Default is true.
</div>
<h3>[property... | false |
Other | mrdoob | three.js | 9af3f082e8f710eb2e4704f4aee3941a74ed2cfd.json | Fix handling of some cameras in Mirror.js
Mirror.js assumes that the mirror camera has .matrixAutoUpdate = true. If the mirror camera is cloned from an original camera that has .matrixAutoUpdate = false, this must be corrected. | examples/js/Mirror.js | @@ -110,6 +110,7 @@ THREE.Mirror = function ( renderer, camera, options ) {
this.textureMatrix = new THREE.Matrix4();
this.mirrorCamera = this.camera.clone();
+ this.mirrorCamera.matrixAutoUpdate = true;
this.texture = new THREE.WebGLRenderTarget( width, height );
this.tempTexture = new THREE.WebGLRen... | false |
Other | mrdoob | three.js | 3ba1dcbc3d5b3214fa640d29f90c14c0abf7f20a.json | Fix typo in mirror example | examples/webgl_mirror.html | @@ -50,7 +50,7 @@
var NEAR = 1;
var FAR = 500;
- var camera, scane, renderer;
+ var camera, scene, renderer;
var cameraControls;
| false |
Other | mrdoob | three.js | 4e1beb0b4861c54968c22cee0e40aac8b2247a81.json | fix crossOrigin propagation in OBJMTL loader | examples/js/loaders/MTLLoader.js | @@ -87,6 +87,7 @@ THREE.MTLLoader.prototype = {
}
var materialCreator = new THREE.MTLLoader.MaterialCreator( this.baseUrl, this.options );
+ materialCreator.crossOrigin = this.crossOrigin
materialCreator.setMaterials( materialsInfo );
return materialCreator;
| true |
Other | mrdoob | three.js | 4e1beb0b4861c54968c22cee0e40aac8b2247a81.json | fix crossOrigin propagation in OBJMTL loader | examples/js/loaders/OBJMTLLoader.js | @@ -20,6 +20,7 @@ THREE.OBJMTLLoader.prototype = {
var scope = this;
var mtlLoader = new THREE.MTLLoader( url.substr( 0, url.lastIndexOf( "/" ) + 1 ) );
+ mtlLoader.crossOrigin = scope.crossOrigin;
mtlLoader.load( mtlurl, function ( materials ) {
var materialsCreator = materials; | true |
Other | mrdoob | three.js | ad988c7fb329e834c54c892916e6e95e616c15a7.json | Adjust code alignment and add todo list. | examples/js/renderers/SoftwareRenderer.js | @@ -96,6 +96,7 @@ THREE.SoftwareRenderer = function ( parameters ) {
};
+ // TODO: Check why autoClear can't be false.
this.render = function ( scene, camera ) {
if ( this.autoClear === true ) this.clear();
@@ -1124,54 +1125,54 @@ THREE.SoftwareRenderer = function ( parameters ) {
crossVector.c... | true |
Other | mrdoob | three.js | ad988c7fb329e834c54c892916e6e95e616c15a7.json | Adjust code alignment and add todo list. | examples/software_lines_colors.html | @@ -78,8 +78,7 @@
renderer = new THREE.SoftwareRenderer( { antialias: false } );
renderer.setSize( window.innerWidth, window.innerHeight );
- renderer.autoClear = true;
-
+
container.appendChild( renderer.domElement );
var geometry = new THREE.Geometry(), | true |
Other | mrdoob | three.js | 66b101db3fe14ac3ca3efdc46723a8aadd0c56b5.json | Fix indentation in Blender exporter script | utils/exporters/blender/2.65/scripts/addons/io_mesh_threejs/export_threejs.py | @@ -2170,8 +2170,8 @@ def generate_cameras(data):
"position" : generate_vec3([cameraobj.location[0], -cameraobj.location[1], cameraobj.location[2]], data["flipyz"]),
"target" : generate_vec3([0, 0, 0])
}
-
- elif camera.id_data.type == "ORTHO":
+
+ ... | false |
Other | mrdoob | three.js | 8fcb3c06165d4616ba960fbfbb9e208fead9d64c.json | add glsl changes | src/renderers/shaders/ShaderChunk/alphatest_fragment.glsl | @@ -0,0 +1,5 @@
+#ifdef ALPHATEST
+
+ if ( gl_FragColor.a < ALPHATEST ) discard;
+
+#endif | true |
Other | mrdoob | three.js | 8fcb3c06165d4616ba960fbfbb9e208fead9d64c.json | add glsl changes | src/renderers/shaders/ShaderChunk/bumpmap_pars_fragment.glsl | @@ -0,0 +1,40 @@
+#ifdef USE_BUMPMAP
+
+ uniform sampler2D bumpMap;
+ uniform float bumpScale;
+
+ // Derivative maps - bump mapping unparametrized surfaces by Morten Mikkelsen
+ // http://mmikkelsen3d.blogspot.sk/2011/07/derivative-maps.html
+
+ // Evaluate the derivative of the height w.r.t. screen-space using ... | true |
Other | mrdoob | three.js | 8fcb3c06165d4616ba960fbfbb9e208fead9d64c.json | add glsl changes | src/renderers/shaders/ShaderChunk/color_fragment.glsl | @@ -0,0 +1,5 @@
+#ifdef USE_COLOR
+
+ gl_FragColor = gl_FragColor * vec4( vColor, 1.0 );
+
+#endif
\ No newline at end of file | true |
Other | mrdoob | three.js | 8fcb3c06165d4616ba960fbfbb9e208fead9d64c.json | add glsl changes | src/renderers/shaders/ShaderChunk/color_pars_fragment.glsl | @@ -0,0 +1,5 @@
+#ifdef USE_COLOR
+
+ varying vec3 vColor;
+
+#endif | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.