Hi all, I just pushed a bugfix to SGMisc::normalizePeriodic(min,max,value). The method allways returned zero for values less than min instead of normalizing these values into the given period.
This function is used SGGeodesy::advanceRadM() SGGeodesy::radialIntersection() which are probably used often in various places. The funciton is also used in src/Instrumentation/rnav_waypt_controller.cxx If you ever experienced some unexpected bearings or headings, this might have been the reason for it. I think this should also go into the 2.2.0 branch - if I only knew how to... Torsten, the GIT noop ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel