Function angle_3d

Source
pub fn angle_3d(vec_a: [[f64; 3]; 2], vec_b: [[f64; 3]; 2]) -> f64
Expand description

Calculate the shortest angle from vec_a to vec_b, in 3d space.

ยงArguments

  • vec_a - Start and end coordinates of the first vector.
  • vec_b - Start and end coordinates of the second vector.