|
@@ -50,11 +50,11 @@ class SphereGeometry extends BufferGeometry {
|
|
|
|
|
|
let uOffset = 0;
|
|
|
|
|
|
- if ( iy == 0 && thetaStart == 0 ) {
|
|
|
+ if ( iy === 0 && thetaStart === 0 ) {
|
|
|
|
|
|
uOffset = 0.5 / widthSegments;
|
|
|
|
|
|
- } else if ( iy == heightSegments && thetaEnd == Math.PI ) {
|
|
|
+ } else if ( iy === heightSegments && thetaEnd === Math.PI ) {
|
|
|
|
|
|
uOffset = - 0.5 / widthSegments;
|
|
|
|