]> git.mxchange.org Git - simgear.git/commitdiff
Harald Johnsen: Fix a 'terrible' bug with culling of the clouds.
authorehofman <ehofman>
Tue, 26 Apr 2005 20:14:37 +0000 (20:14 +0000)
committerehofman <ehofman>
Tue, 26 Apr 2005 20:14:37 +0000 (20:14 +0000)
simgear/scene/sky/cloudfield.cxx

index b5bef13fc03a4aa89fb236cbd9e611dc4d8e135c..bdd64aa3286758c22b5f5008c95648b7a9a14e05 100644 (file)
@@ -180,6 +180,7 @@ void SGCloudField::reposition( sgVec3 p, sgVec3 up, double lon, double lat, doub
        // correct the frustum with the right far plane
        ssgContext *context = ssgGetCurrentContext();
        frustum = *context->getFrustum();
+       frustum.setFOV(55.0,0);
        frustum.setNearFar(1.0, CloudVis);
 }