File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ uniform float animateProg;
1515
1616vec3 givePosition(vec2 uv) {
1717 // Reverse the normalization using the bounds
18- float longitude = - ((1.0 - uv.x) * (lonBounds.y - lonBounds.x) + lonBounds.x);
18+ float longitude = ((1.0 - uv.x) * (lonBounds.y - lonBounds.x) + lonBounds.x);
1919 float latitude = uv.y * (latBounds.y - latBounds.x) + latBounds.x;
2020
2121 // Convert to Cartesian coordinates
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ uniform float animateProg;
1515
1616vec3 givePosition(vec2 uv) {
1717 // Reverse the normalization using the bounds
18- float longitude = - ((1.0 - uv.x) * (lonBounds.y - lonBounds.x) + lonBounds.x);
18+ float longitude = ((1.0 - uv.x) * (lonBounds.y - lonBounds.x) + lonBounds.x);
1919 float latitude = uv.y * (latBounds.y - latBounds.x) + latBounds.x;
2020
2121 // Convert to Cartesian coordinates
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const operationMap = {
3939} ;
4040
4141function Num2String ( value : number ) {
42- if ( Math . abs ( value ) > 1e3 && Math . abs ( value ) < 1e6 || value === 0 ) {
42+ if ( ( Math . abs ( value ) > 1e-3 && Math . abs ( value ) < 1e6 ) || value === 0 ) {
4343 return value . toFixed ( 2 )
4444 } else {
4545 return value . toExponential ( 2 )
You can’t perform that action at this time.
0 commit comments