StelProjector.cpp   StelProjector.cpp 
skipping to change at line 119 skipping to change at line 119
zNear = params.zNear; zNear = params.zNear;
oneOverZNearMinusZFar = 1.f/(zNear-params.zFar); oneOverZNearMinusZFar = 1.f/(zNear-params.zFar);
viewportXywh = params.viewportXywh; viewportXywh = params.viewportXywh;
viewportXywh[0] *= devicePixelsPerPixel; viewportXywh[0] *= devicePixelsPerPixel;
viewportXywh[1] *= devicePixelsPerPixel; viewportXywh[1] *= devicePixelsPerPixel;
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;
defautAngleForGravityText = params.defautAngleForGravityText; defaultAngleForGravityText = params.defautAngleForGravityText;
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));
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);
 End of changes. 1 change blocks. 
1 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/