Function rdcl_aoc_helpers::math::taxi_cab_3d
source · pub fn taxi_cab_3d<T>((xa, ya, za): (T, T, T), (xb, yb, zb): (T, T, T)) -> Twhere
T: Add<T, Output = T> + Sub<T, Output = T> + Ord + Copy,
Expand description
The taxi cab distance between two 3D points.