]> git.mxchange.org Git - simgear.git/commit
For clouds, use a RNG seed that only changes every 10 minutes.
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Fri, 9 Nov 2012 20:25:53 +0000 (20:25 +0000)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Fri, 9 Nov 2012 20:25:53 +0000 (20:25 +0000)
commit279445d6bccaee282c0e5d3391b6352beae5ca0e
treec87f13315686eae3f0bb31dd1da70a22a1215fce
parent54778ee1e1c91e1307cd172b32abfe211418d4df
For clouds, use a RNG seed that only changes every 10 minutes.

This allows multi-process deploymentes to keep their clouds in sync.
simgear/math/sg_random.c
simgear/math/sg_random.h
simgear/scene/sky/CloudShaderGeometry.hxx
simgear/scene/sky/cloud.cxx
simgear/scene/sky/newcloud.cxx
simgear/scene/sky/newcloud.hxx
simgear/scene/sky/sky.cxx
simgear/scene/sky/sky.hxx