[BACK]Return to patch-simgear_scene_sky_cloud_cxx CVS log [TXT][DIR] Up to [local] / ports / graphics / simgear / patches

File: [local] / ports / graphics / simgear / patches / Attic / patch-simgear_scene_sky_cloud_cxx (download)

Revision 1.2, Tue Mar 2 14:22:22 2010 UTC (14 years, 5 months ago) by yason
Branch: MAIN
Changes since 1.1: +4 -13 lines

update to 2.0.0

$OpenBSD$
--- simgear/scene/sky/cloud.cxx.orig	Tue Mar  2 18:14:25 2010
+++ simgear/scene/sky/cloud.cxx	Tue Mar  2 18:15:04 2010
@@ -695,7 +695,7 @@ bool SGCloudLayer::reposition( const SGVec3f& p, const
         // this happens, lets just use the last known good course.
         // This is a hack, and it would probably be better to make
         // calc_gc_course_dist() more robust.
-        if ( isnan(course) ) {
+        if ( __isnanf(course) ) {
             course = last_course;
         } else {
             last_course = course;