We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8a37c commit eee45dfCopy full SHA for eee45df
src/plot.cpp
@@ -1195,9 +1195,7 @@ bool ProjectionPlot::trackstack_equivalent(
1195
std::pair<Position, Direction> RayTracePlot::get_pixel_ray(
1196
int horiz, int vert) const
1197
{
1198
- // Now we convert to the polar coordinate system with the polar angle
1199
- // measuring the angle from the vector up_. Phi is the rotation about up_. For
1200
- // now, up_ is hard-coded to be +z.
+ // Compute field of view in radians
1201
constexpr double DEGREE_TO_RADIAN = M_PI / 180.0;
1202
double horiz_fov_radians = horizontal_field_of_view_ * DEGREE_TO_RADIAN;
1203
double p0 = static_cast<double>(pixels_[0]);
0 commit comments