Function line_drawing::walk_voxels_sorted [] [src]

pub fn walk_voxels_sorted<I: FloatNum, O: SignedNum>(
    start: Voxel<I>,
    end: Voxel<I>
) -> VecDeque<Voxel<O>>

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