- Committing first working version of new AMOR settings module
This commit is contained in:
10
trigd.c
10
trigd.c
@ -36,6 +36,16 @@ extern double Tand(double x)
|
||||
return (tan(x*DEGREE_RAD));
|
||||
}
|
||||
/*******************************************************************************
|
||||
* cotangens of angle in degrees
|
||||
*****************************************************************************/
|
||||
extern double Cotd(double x){
|
||||
if(tan(x*DEGREE_RAD) > .00001){
|
||||
return (1./tan(x*DEGREE_RAD));
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/*******************************************************************************
|
||||
* Cosinus of angle in degrees.
|
||||
*******************************************************************************/
|
||||
extern double Cosd (double x)
|
||||
|
Reference in New Issue
Block a user