GNU Exterior Ballistics Computer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
355 B

// Specialty angular conversion functions
double DegtoMOA(double deg){
return deg*60;
}
double DegtoRad(double deg){
return deg*M_PI/180;
}
double MOAtoDeg(double moa){
return moa/60;
}
double MOAtoRad(double moa){
return moa/60*M_PI/180;
}
double RadtoDeg(double rad){
return rad*180/M_PI;
}
double RadtoMOA(double rad){
return rad*60*180/M_PI;
}