File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ function processGrid(trace) {
107
107
var firstY , lastY ;
108
108
var firstZ , lastZ ;
109
109
if ( len ) {
110
- firstX = + x [ 0 ] ;
111
- firstY = + y [ 0 ] ;
112
- firstZ = + z [ 0 ] ;
110
+ firstX = x [ 0 ] ;
111
+ firstY = y [ 0 ] ;
112
+ firstZ = z [ 0 ] ;
113
113
}
114
114
if ( len > 1 ) {
115
- lastX = + x [ len - 1 ] ;
116
- lastY = + y [ len - 1 ] ;
117
- lastZ = + z [ len - 1 ] ;
115
+ lastX = x [ len - 1 ] ;
116
+ lastY = y [ len - 1 ] ;
117
+ lastZ = z [ len - 1 ] ;
118
118
}
119
119
120
120
for ( i = 0 ; i < len ; i ++ ) {
@@ -127,15 +127,15 @@ function processGrid(trace) {
127
127
zMax = Math . max ( zMax , z [ i ] ) ;
128
128
zMin = Math . min ( zMin , z [ i ] ) ;
129
129
130
- if ( ! filledX && ( + x [ i ] ) !== firstX ) {
130
+ if ( ! filledX && x [ i ] !== firstX ) {
131
131
filledX = true ;
132
132
gridFill += 'x' ;
133
133
}
134
- if ( ! filledY && ( + y [ i ] ) !== firstY ) {
134
+ if ( ! filledY && y [ i ] !== firstY ) {
135
135
filledY = true ;
136
136
gridFill += 'y' ;
137
137
}
138
- if ( ! filledZ && ( + z [ i ] ) !== firstZ ) {
138
+ if ( ! filledZ && z [ i ] !== firstZ ) {
139
139
filledZ = true ;
140
140
gridFill += 'z' ;
141
141
}
You can’t perform that action at this time.
0 commit comments