Skip to content

Commit 03aed83

Browse files
committed
re override indices for PR benchmark - may revise this later
1 parent 10227fb commit 03aed83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/traces/isosurface/convert.js

+4
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,10 @@ function generateIsosurfaceMesh(data) {
396396

397397
function tryCreateTri(style, xyzv, abc, min, max, isSecondPass) {
398398

399+
abc = [-1, -1, -1]; // Note: for the moment we override indices
400+
// to run faster! But it is possible to comment this line
401+
// to reduce the number of vertices.
402+
399403
var tryDrawTri = function(style, xyzv, abc) {
400404
if( // we check here if the points are in `real` iso-min/max range
401405
almostInFinalRange(xyzv[0][3]) &&

0 commit comments

Comments
 (0)