Function line_drawing::bresenham_3d_sorted [] [src]

pub fn bresenham_3d_sorted<T: SignedNum>(
    start: Voxel<T>,
    end: Voxel<T>
) -> VecDeque<Voxel<T>>

Sorts the voxels before hand to ensure that the line is symmetrical and collects into a VecDeque.