Skip to content

Commit c1d45fd

Browse files
committed
Updated builds.
1 parent f31d06a commit c1d45fd

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

build/three.js

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35390,7 +35390,7 @@ THREE.FaceNormalsHelper.prototype.update = ( function ( object ) {
3539035390

3539135391
var v1 = new THREE.Vector3();
3539235392

35393-
return function( object ) {
35393+
return function ( object ) {
3539435394

3539535395
this.object.updateMatrixWorld( true );
3539635396

@@ -35517,20 +35517,16 @@ THREE.HemisphereLightHelper.prototype.update = function () {
3551735517

3551835518
THREE.PointLightHelper = function ( light, sphereSize ) {
3551935519

35520-
THREE.Object3D.call( this );
35521-
35522-
this.matrixAutoUpdate = false;
35523-
3552435520
this.light = light;
3552535521

3552635522
var geometry = new THREE.SphereGeometry( sphereSize, 4, 2 );
3552735523
var material = new THREE.MeshBasicMaterial( { fog: false, wireframe: true } );
3552835524
material.color.copy( this.light.color ).multiplyScalar( this.light.intensity );
3552935525

35530-
this.lightSphere = new THREE.Mesh( geometry, material );
35531-
this.lightSphere.matrixWorld = this.light.matrixWorld;
35532-
this.lightSphere.matrixAutoUpdate = false;
35533-
this.add( this.lightSphere );
35526+
THREE.Mesh.call( this, geometry, material );
35527+
35528+
this.matrixWorld = this.light.matrixWorld;
35529+
this.matrixAutoUpdate = false;
3553435530

3553535531
/*
3553635532
var distanceGeometry = new THREE.IcosahedronGeometry( 1, 2 );
@@ -35556,15 +35552,13 @@ THREE.PointLightHelper = function ( light, sphereSize ) {
3555635552

3555735553
};
3555835554

35559-
THREE.PointLightHelper.prototype = Object.create( THREE.Object3D.prototype );
35555+
THREE.PointLightHelper.prototype = Object.create( THREE.Mesh.prototype );
3556035556

3556135557
THREE.PointLightHelper.prototype.update = function () {
3556235558

35563-
this.lightSphere.material.color.copy( this.light.color ).multiplyScalar( this.light.intensity );
35559+
this.material.color.copy( this.light.color ).multiplyScalar( this.light.intensity );
3556435560

3556535561
/*
35566-
this.lightDistance.material.color.copy( this.color );
35567-
3556835562
var d = this.light.distance;
3556935563

3557035564
if ( d === 0.0 ) {

build/three.min.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)