度 => ã©ã¸ã¢ã³å¤æ
æ¨èª
iPhoneã¨ã³ã¸ãã¢ã§ãããªãã°ã
度ããã©ã¸ã¢ã³ãæ±ãããã¨ããå¤ã
ãã£ã¦ãã
ãã®éã®ã©ã¸ã¢ã³ãã度ã«ãããã¨ãã¯ã»ã¨ãã©ãªãã ããã
ã¨ãããã¨ã§ãã©ã¸ã¢ã³ã«ãããã¨ãã¯ä»¥ä¸ã®æ¨èªã§è¦ãã¦ããã°ãã
360ã§å²ã£ã¦2Ïã§ã©ã¸ã¢ã³
å¤æ
度ããã©ã¸ã¢ã³ã¸ã®å¤æã
(2 * M_PI/360) * hoge度
30度ãã©ã¸ã¢ã³ã«å¤æãããã®ãªã
(2 * M_PI/360) * 30度
ã§
M_PI * (1/6)
ã¨ãªã