StelViewportEffect.cpp   StelViewportEffect.cpp 
skipping to change at line 53 skipping to change at line 53
{ {
Vec2f ver_xy; Vec2f ver_xy;
Vec4f color; Vec4f color;
double h; double h;
}; };
StelViewportDistorterFisheyeToSphericMirror::StelViewportDistorterFisheyeTo SphericMirror(int screen_w,int screen_h) StelViewportDistorterFisheyeToSphericMirror::StelViewportDistorterFisheyeTo SphericMirror(int screen_w,int screen_h)
: screen_w(screen_w) : screen_w(screen_w)
, screen_h(screen_h) , screen_h(screen_h)
, originalProjectorParams(StelApp::getInstance().getCore()->getCurre ntStelProjectorParams()) , originalProjectorParams(StelApp::getInstance().getCore()->getCurre ntStelProjectorParams())
, texture_point_array(NULL) , texture_point_array(Q_NULLPTR)
{ {
QSettings& conf = *StelApp::getInstance().getSettings(); QSettings& conf = *StelApp::getInstance().getSettings();
StelCore* core = StelApp::getInstance().getCore(); StelCore* core = StelApp::getInstance().getCore();
StelProjector::StelProjectorParams params = core->getCurrentStelProj ectorParams(); StelProjector::StelProjectorParams params = core->getCurrentStelProj ectorParams();
screen_h *= params.devicePixelsPerPixel; screen_h *= params.devicePixelsPerPixel;
screen_w *= params.devicePixelsPerPixel; screen_w *= params.devicePixelsPerPixel;
// initialize viewport parameters and texture size: // initialize viewport parameters and texture size:
// maximum FOV value of the not yet distorted image // maximum FOV value of the not yet distorted image
double distorter_max_fov = conf.value("spheric_mirror/distorter_max_ fov",175.f).toFloat(); double distorter_max_fov = conf.value("spheric_mirror/distorter_max_ fov",175.f).toFloat();
 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/