84publicstaticint[] vertIndexGrid; // list of length "dataLength", records indexes of previously created vertices, so we can build the triangle indexes list using unique vertices
85publicstaticint[] vertIndexGrid2; // list of length "dataLength", records indexes of previously created vertices, so we can build the triangle indexes list using unique vertices
86publicintdataLength; // total nb of points, = ncellsX * ncellsY * ncellsZ
87publicstaticint[] indList; // stores all grid points indices ("ind") which are >= density threshold ("minValue")
88
89publicstaticint[] cubeIndex; // list cubeIndex[ind] of already marched cubes // TODO : Useless to store as array, could be a simple int ?