Skip to content

Commit 8441004

Browse files
committed
Updated builds.
1 parent 3f632d3 commit 8441004

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

build/three.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4326,7 +4326,7 @@ class Sphere {
43264326
if (this.isEmpty()) {
43274327
this.center.copy(point);
43284328
this.radius = 0;
4329-
return;
4329+
return this;
43304330
} // from https://github.com/juj/MathGeoLib/blob/2940b99b99cfe575dd45103ef20f4019dee15b54/src/Geometry/Sphere.cpp#L649-L671
43314331

43324332

@@ -4350,10 +4350,10 @@ class Sphere {
43504350
union(sphere) {
43514351
// handle empty sphere cases
43524352
if (sphere.isEmpty()) {
4353-
return;
4353+
return this;
43544354
} else if (this.isEmpty()) {
43554355
this.copy(sphere);
4356-
return;
4356+
return this;
43574357
} // from https://github.com/juj/MathGeoLib/blob/2940b99b99cfe575dd45103ef20f4019dee15b54/src/Geometry/Sphere.cpp#L759-L769
43584358
// To enclose another sphere into this sphere, we only need to enclose two points:
43594359
// 1) Enclose the farthest point on the other sphere into this sphere.

build/three.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4328,7 +4328,7 @@
43284328
if (this.isEmpty()) {
43294329
this.center.copy(point);
43304330
this.radius = 0;
4331-
return;
4331+
return this;
43324332
} // from https://github.com/juj/MathGeoLib/blob/2940b99b99cfe575dd45103ef20f4019dee15b54/src/Geometry/Sphere.cpp#L649-L671
43334333

43344334

@@ -4352,10 +4352,10 @@
43524352
union(sphere) {
43534353
// handle empty sphere cases
43544354
if (sphere.isEmpty()) {
4355-
return;
4355+
return this;
43564356
} else if (this.isEmpty()) {
43574357
this.copy(sphere);
4358-
return;
4358+
return this;
43594359
} // from https://github.com/juj/MathGeoLib/blob/2940b99b99cfe575dd45103ef20f4019dee15b54/src/Geometry/Sphere.cpp#L759-L769
43604360
// To enclose another sphere into this sphere, we only need to enclose two points:
43614361
// 1) Enclose the farthest point on the other sphere into this sphere.

build/three.min.js

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

build/three.module.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5625,7 +5625,8 @@ class Sphere {
56255625

56265626
this.center.copy( point );
56275627
this.radius = 0;
5628-
return;
5628+
5629+
return this;
56295630

56305631
}
56315632

@@ -5658,12 +5659,13 @@ class Sphere {
56585659
// handle empty sphere cases
56595660
if ( sphere.isEmpty() ) {
56605661

5661-
return;
5662+
return this;
56625663

56635664
} else if ( this.isEmpty() ) {
56645665

56655666
this.copy( sphere );
5666-
return;
5667+
5668+
return this;
56675669

56685670
}
56695671

0 commit comments

Comments
 (0)