From: ehofman Date: Tue, 26 Apr 2005 20:14:37 +0000 (+0000) Subject: Harald Johnsen: Fix a 'terrible' bug with culling of the clouds. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=100927f16cd44f4a343ea72995dfd6e19b58a749;p=simgear.git Harald Johnsen: Fix a 'terrible' bug with culling of the clouds. --- diff --git a/simgear/scene/sky/cloudfield.cxx b/simgear/scene/sky/cloudfield.cxx index b5bef13f..bdd64aa3 100644 --- a/simgear/scene/sky/cloudfield.cxx +++ b/simgear/scene/sky/cloudfield.cxx @@ -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); }