Landscape.cpp   Landscape.cpp 
skipping to change at line 556 skipping to change at line 556
StelProjector::ModelViewTranformP transform = StelProjector::ModelViewTranformP transform =
core->getAltAzModelViewTransform(StelCore::RefractionOff); core->getAltAzModelViewTransform(StelCore::RefractionOff);
transform->combine transform->combine
(Mat4d::zrotation((groundAngleRotateZ - angleRotateZOffset) * M_PI / 180.0f) * (Mat4d::zrotation((groundAngleRotateZ - angleRotateZOffset) * M_PI / 180.0f) *
Mat4d::translation(Vec3d(0.0, 0.0, vshift))); Mat4d::translation(Vec3d(0.0, 0.0, vshift)));
StelProjectorP projector = core->getProjection(transform); StelProjectorP projector = core->getProjection(transform);
const Vec4f color = StelApp::getInstance().getVisionModeNight() const Vec4f color = StelApp::getInstance().getVisionModeNight()
? Vec4f(skyBrightness*nightBrightness, 0.0, 0.0, l andFader.getInterstate()) ? Vec4f(skyBrightness*nightBrightness, 0.0, 0.0, l andFader.getInterstate())
: Vec4f(skyBrightness, skyBrightness, skyBrightnes s, landFader.getInterstate()); : Vec4f(skyBrightness, skyBrightness, skyBrightnes s, landFader.getInterstate());
renderer->setGlobalColor(color); renderer->setGlobalColor(color);
groundTex->bind(); groundTex->bind();
// Lazily generate the ground fan disk. // Lazily generate the ground fan disk.
if(NULL == groundFanDisk) if(NULL == groundFanDisk)
{ {
Q_ASSERT_X(NULL == groundFanDiskIndices, Q_FUNC_INFO, Q_ASSERT_X(NULL == groundFanDiskIndices, Q_FUNC_INFO,
"Vertex buffer is NULL but index buffer is alread y generated"); "Vertex buffer is NULL but index buffer is alread y generated");
generateGroundFanDisk(renderer); generateGroundFanDisk(renderer);
 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/