Update of /cvsroot/csp/APPLICATIONS/CSPFlightSim/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv22677
Modified Files:
TypesMath.h
Log Message:
Adding completly naive random number functions
Index: TypesMath.h
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPFlightSim/Include/TypesMath.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TypesMath.h 7 Dec 2002 12:14:13 -0000 1.3
--- TypesMath.h 11 Jan 2003 10:52:18 -0000 1.4
***************
*** 53,66 ****
};
!
!
! inline double DegreesToRadians(double deg)
! {
! return deg * pi / 180.0f;
}
! inline double RadiansToDegrees(double rad)
! {
! return rad * 180.0f / pi;
}
--- 53,64 ----
};
! inline double RadiansToDegrees(double rad)
! {
! return rad * 180.0 / pi;
}
! inline double DegreesToRadians(double deg)
! {
! return deg * pi / 180.0;
}
***************
*** 85,88 ****
--- 83,90 ----
double Atan(double const p_a, double const p_b);
+
+ float UnsignedRandomNumber();
+
+ float SignedRandomNumber();
#endif // __TYPESMATH_H__
|