X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fsky%2Fcloud.cxx;h=a2b3b66237ed36fd1452e4c7f80ce71e0d077977;hb=84cba33aab34236abc5aa69c2a364e4ef5809047;hp=9945ecaf34cd3c0a80e7e03ed083154bfb02d718;hpb=bbc83f721c8f8099cea9fbc14fa6de984cfbd1e1;p=simgear.git diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index 9945ecaf..a2b3b662 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -2,7 +2,7 @@ // // Written by Curtis Olson, started June 2000. // -// Copyright (C) 2000 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 2000 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,15 +21,13 @@ // #include #include -#if defined (__APPLE__) +#if defined (__APPLE__) || defined (__FreeBSD__) // any C++ header file undefines isinf and isnan // so this should be included before inline int (isinf)(double r) { return isinf(r); } inline int (isnan)(double r) { return isnan(r); } #endif -// #include STL_IOSTREAM - #include #include @@ -634,7 +632,6 @@ bool SGCloudLayer::repaint( sgVec3 fog_color ) { return true; } - // reposition the cloud layer at the specified origin and orientation // lon specifies a rotation about the Z axis // lat specifies a rotation about the new Y axis