pub fn distance(
e1: &Instance,
e2: &Instance,
stage: ShaderStage,
) -> Result<Instance, Error>Expand description
distance() builtin function.
NOTE: the function returns an error if computed out of domain
Reference: https://www.w3.org/TR/WGSL/#distance-builtin