probePosition method

Vector3 probePosition(
  1. int x,
  2. int y,
  3. int z
)

World position of the probe at lattice offset (x, y, z) from origin.

Implementation

Vector3 probePosition(int x, int y, int z) => Vector3(
  origin.x + x * spacing.x,
  origin.y + y * spacing.y,
  origin.z + z * spacing.z,
);