Update of /cvsroot/gcblue/gcb_wx/include/common
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv29360/include/common
Modified Files:
cspDate.h math_constants.h simmath.h
Log Message:
Index: cspDate.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/common/cspDate.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** cspDate.h 13 Apr 2004 21:37:39 -0000 1.3
--- cspDate.h 20 Nov 2006 00:16:24 -0000 1.4
***************
*** 462,466 ****
*/
bool overflow() const {
! return m_time >= 86400.0f;
}
--- 462,466 ----
*/
bool overflow() const {
! return (m_time >= 86400.0f) || (m_time < 0);
}
Index: simmath.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/common/simmath.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** simmath.h 24 Oct 2006 01:33:57 -0000 1.37
--- simmath.h 20 Nov 2006 00:16:25 -0000 1.38
***************
*** 194,198 ****
mfYaw_rad=0;mfPitch_rad=0;mfRoll_rad=0;}
! void PredictPosition(float dt_s, double& lon_rad, double& lat_rad, float& alt_m);
float BearingRateTo(float range_km, float bearing_rad, float speed_kts, float heading_rad);
float HeadingToTrack(const tcTrack& track);
--- 194,199 ----
mfYaw_rad=0;mfPitch_rad=0;mfRoll_rad=0;}
! void PredictPosition(float dt_s, double& lon_rad, double& lat_rad, float& alt_m) const;
! void Extrapolate(float dt_s);
float BearingRateTo(float range_km, float bearing_rad, float speed_kts, float heading_rad);
float HeadingToTrack(const tcTrack& track);
Index: math_constants.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/common/math_constants.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** math_constants.h 21 Apr 2006 23:28:31 -0000 1.13
--- math_constants.h 20 Nov 2006 00:16:25 -0000 1.14
***************
*** 56,60 ****
#define C_RADARHOR 3.92482f ///< radar horizon in km = constant*sqrt(h in meters)
#define C_VISUALHOR 2.78f ///< visible horizon in km = constant*sqrt(h in meters)
!
class UnitConversions
--- 56,60 ----
#define C_RADARHOR 3.92482f ///< radar horizon in km = constant*sqrt(h in meters)
#define C_VISUALHOR 2.78f ///< visible horizon in km = constant*sqrt(h in meters)
! #define C_RADTOHRS 3.819719f
class UnitConversions
|