Changeset View
Changeset View
Standalone View
Standalone View
kstars/projections/projector.cpp
Context not available. | |||||
290 | if (m_vp.useAltAz) | 290 | if (m_vp.useAltAz) | ||
---|---|---|---|---|---|
291 | { | 291 | { | ||
292 | daz = 0.5 * m_vp.width * 57.3 / m_vp.zoomFactor; //center to edge, in degrees | 292 | daz = 0.5 * m_vp.width * 57.3 / m_vp.zoomFactor; //center to edge, in degrees | ||
293 | if (type() == Projector::Orthographic) | 293 | if (type() == Projector::Projection::Orthographic) | ||
294 | { | 294 | { | ||
295 | daz = daz * 1.4; | 295 | daz = daz * 1.4; | ||
296 | } | 296 | } | ||
Context not available. | |||||
347 | //In Gnomonic projection, or if sufficiently zoomed in, we can complete | 347 | //In Gnomonic projection, or if sufficiently zoomed in, we can complete | ||
348 | //the ground polygon by simply adding offscreen points | 348 | //the ground polygon by simply adding offscreen points | ||
349 | //FIXME: not just gnomonic | 349 | //FIXME: not just gnomonic | ||
350 | if (daz < 25.0 || type() == Projector::Gnomonic) | 350 | if (daz < 25.0 || type() == Projector::Projection::Gnomonic) | ||
351 | { | 351 | { | ||
352 | ground.append(Vector2f(m_vp.width + 10.f, ground.last().y())); | 352 | ground.append(Vector2f(m_vp.width + 10.f, ground.last().y())); | ||
353 | ground.append(Vector2f(m_vp.width + 10.f, m_vp.height + 10.f)); | 353 | ground.append(Vector2f(m_vp.width + 10.f, m_vp.height + 10.f)); | ||
Context not available. |