pub fn grid(from: Vec3, to: Vec3, n: usize) -> impl Iterator<Item = Vec3>
Given two 3D vectors from and to, linearly interpolates between them in n steps along the three axes, returning the intermediate result at each step.
from
to
n