B:BD[
2.1338] → [
2.1338:1602]
const x0 = getIndex(&X, cube.xmin);
const x1 = getIndex(&X, cube.xmax);
const y0 = getIndex(&Y, cube.ymin);
const y1 = getIndex(&Y, cube.ymax);
const z0 = getIndex(&Z, cube.zmin);
const z1 = getIndex(&Z, cube.zmax);
const x0 = mem.indexOfScalar(isize, X.items, cube.xmin).?;
const x1 = mem.indexOfScalar(isize, X.items, cube.xmax).?;
const y0 = mem.indexOfScalar(isize, Y.items, cube.ymin).?;
const y1 = mem.indexOfScalar(isize, Y.items, cube.ymax).?;
const z0 = mem.indexOfScalar(isize, Z.items, cube.zmin).?;
const z1 = mem.indexOfScalar(isize, Z.items, cube.zmax).?;