X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fsky%2Fnewcloud.cxx;h=1e16629e8a3f43bdc7dfef9037103ec44338e80c;hb=d6c0bf69b63b30f68d0ba0092dbae0911c00dd9b;hp=1518b13306a2f3b58070c7cf6d3c631c682b2ce5;hpb=5abc6c995fc0e0b56f84b59813a9adcf76d9658a;p=simgear.git diff --git a/simgear/scene/sky/newcloud.cxx b/simgear/scene/sky/newcloud.cxx index 1518b133..1e16629e 100644 --- a/simgear/scene/sky/newcloud.cxx +++ b/simgear/scene/sky/newcloud.cxx @@ -69,7 +69,6 @@ EffectMap effectMap; double SGNewCloud::sprite_density = 1.0; - SGNewCloud::SGNewCloud(string type, const SGPath &tex_path, string tex, @@ -222,7 +221,7 @@ osg::ref_ptr SGNewCloud::genCloud() { z = height * cos(elev) * 0.5f; } - // Determine the height and width as scaling factors on the minimum size (used to create the quad) + // Determine the height and width as scaling factors on the minimum size (used to create the quad). float sprite_width = 1.0f + sg_random() * (max_sprite_width - min_sprite_width) / min_sprite_width; float sprite_height = 1.0f + sg_random() * (max_sprite_height - min_sprite_height) / min_sprite_height;