Harald Johnsen: Fix a 'terrible' bug with culling of the clouds.

This commit is contained in:
ehofman
2005-04-26 20:14:37 +00:00
parent bb670f6658
commit 100927f16c

View 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);
}