static double angularDistance()

in Transform360/Library/VideoFrameTransform.cpp [137:144]


static double angularDistance(
  double yaw1,
  double pitch1,
  double yaw2,
  double pitch2) {
  return acos(sin(pitch1) * sin(pitch2) +
    cos(pitch1) * cos(pitch2) * cos(yaw1 - yaw2));
}