Changeset 185 for cpp/common
- Timestamp:
- 03/19/14 00:14:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/Convert.h
r122 r185 33 33 static double toRadians(double kat) {return kat*M_PI/180;} 34 34 static double toDegrees(double kat) {return kat/M_PI*180;} 35 static double atan_2(double y,double x) {if (x==0 && y==0) return 0; else return atan2(y,x);} 35 static double atan_2(double y,double x) {if (x==0 && y==0) return 0; else return atan2(y,x);} //needed by borland 5/6 only? 36 36 37 37 static double odleglosc_sq(double x1,double y1,double x2,double y2) //odleglosc do kwadratu, wystarczy do porownywania … … 75 75 76 76 77 78 77 #endif
Note: See TracChangeset
for help on using the changeset viewer.