StelProjector.cpp   StelProjector.cpp 
skipping to change at line 51 skipping to change at line 51
} }
void StelProjector::init(const StelProjectorParams& params) void StelProjector::init(const StelProjectorParams& params)
{ {
maskType = (StelProjectorMaskType)params.maskType; maskType = (StelProjectorMaskType)params.maskType;
zNear = params.zNear; zNear = params.zNear;
oneOverZNearMinusZFar = 1.f/(zNear-params.zFar); oneOverZNearMinusZFar = 1.f/(zNear-params.zFar);
viewportXywh = params.viewportXywh; viewportXywh = params.viewportXywh;
viewportCenter = params.viewportCenter; viewportCenter = params.viewportCenter;
gravityLabels = params.gravityLabels; gravityLabels = params.gravityLabels;
defautAngleForGravityText = 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; viewportFovDiameter = params.viewportFovDiameter;
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. 
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/