We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f655318 commit f09a8f4Copy full SHA for f09a8f4
Sources/Filters/General/ImageMarchingSquares/index.js
@@ -178,8 +178,8 @@ function vtkImageMarchingSquares(publicAPI, model) {
178
}
179
if (pId === undefined) {
180
const t =
181
- (cVal - pixelScalars[edgeVerts[0]]) /
182
- (pixelScalars[edgeVerts[1]] - pixelScalars[edgeVerts[0]]);
+ (cVal - pixelScalars[edgeVerts[0]]) /
+ (pixelScalars[edgeVerts[1]] - pixelScalars[edgeVerts[0]]);
183
const x0 = pixelPts.slice(edgeVerts[0] * 3, (edgeVerts[0] + 1) * 3);
184
const x1 = pixelPts.slice(edgeVerts[1] * 3, (edgeVerts[1] + 1) * 3);
185
xyz[0] = x0[0] + t * (x1[0] - x0[0]);
0 commit comments