StelProjector.cpp   StelProjector.cpp 
skipping to change at line 125 skipping to change at line 125
viewportXywh[2] *= devicePixelsPerPixel; viewportXywh[2] *= devicePixelsPerPixel;
viewportXywh[3] *= devicePixelsPerPixel; viewportXywh[3] *= devicePixelsPerPixel;
viewportCenter = params.viewportCenter; viewportCenter = params.viewportCenter;
viewportCenter *= devicePixelsPerPixel; viewportCenter *= devicePixelsPerPixel;
gravityLabels = params.gravityLabels; gravityLabels = params.gravityLabels;
defaultAngleForGravityText = params.defaultAngleForGravityText; defaultAngleForGravityText = params.defaultAngleForGravityText;
flipHorz = params.flipHorz ? -1.f : 1.f; flipHorz = params.flipHorz ? -1.f : 1.f;
flipVert = params.flipVert ? -1.f : 1.f; flipVert = params.flipVert ? -1.f : 1.f;
viewportFovDiameter = params.viewportFovDiameter * devicePixelsPerPi xel; viewportFovDiameter = params.viewportFovDiameter * devicePixelsPerPi xel;
pixelPerRad = 0.5f * viewportFovDiameter / fovToViewScalingFactor(pa rams.fov*(M_PI/360.f)); pixelPerRad = 0.5f * viewportFovDiameter / fovToViewScalingFactor(pa rams.fov*(M_PI/360.f));
widthStretch = params.widthStretch;
computeBoundingCap(); computeBoundingCap();
} }
QString StelProjector::getHtmlSummary() const QString StelProjector::getHtmlSummary() const
{ {
return QString("<h3>%1</h3><p>%2</p><b>%3</b>%4").arg(getNameI18()). arg(getDescriptionI18()).arg(q_("Maximum FOV: ")).arg(getMaxFov())+QChar(0x 00B0); return QString("<h3>%1</h3><p>%2</p><b>%3</b>%4").arg(getNameI18()). arg(getDescriptionI18()).arg(q_("Maximum FOV: ")).arg(getMaxFov())+QChar(0x 00B0);
} }
bool StelProjector::intersectViewportDiscontinuity(const Vec3d& p1, const V ec3d& p2) const bool StelProjector::intersectViewportDiscontinuity(const Vec3d& p1, const V ec3d& p2) const
{ {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/