念のためパブリッシュ
Diff: Triangle_omni.cpp
- Revision:
- 2:0d30729e8885
- Parent:
- 1:d36ea95c83f2
diff -r d36ea95c83f2 -r 0d30729e8885 Triangle_omni.cpp --- a/Triangle_omni.cpp Mon Nov 20 06:57:47 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -/*試験オリジナルライブラリ*/ -#include "Triangle_omni.h" -#define Pi 3.141592 - -double Triangle_omni::d_r(double degree){ - return degree*Pi/180.0; - } - -double Triangle_omni::r_d(double radian){ - return radian*180.0/Pi; - } - -double Triangle_omni::max_min(double val,double max,double min){//限度設定関数 - if(val>max)return max; - else if(val<min)return min; - else return val; - } \ No newline at end of file