Function unit_sphere::vector::is_unit

source ·
pub fn is_unit(a: &Vector3d) -> bool
Expand description

Determine whether a Vector3d is a unit vector.

returns true if Vector3d is a unit vector, false otherwise.