static double samplingArc()

in Transform360/Library/VideoFrameTransform.cpp [146:148]


static double samplingArc(double offset, double renderArc) {
  return M_PI - 2 * atan2(cos(0.5 * renderArc) - offset, sin(0.5 * renderArc));
}