ScratchGridãæã£ããããããããã®äººãè¦ã¦ããã¦å¬ããéãã§ãã ãã¦ããããããã§ä½ããã®ãã£ã¦ã®ãåããã¥ãããã¼ã«ã ã¨æãã®ã§ããã¥ã¼ããªã¢ã«çãªãã®ãæ¸ãã¦ã¿ã¾ãã ããã§ã¯èµ·åãã¾ãããã ã¾ãã¯ã½ã¼ã¹ã³ã¼ãé¨åã«ä»¥ä¸ã®ãããªã³ã¼ããæ¸ãã¾ãã function deg2rad(x:Number):Number { return x * 0.0174532925; } function rad2deg(x:Number):Number { return x * 57.2957796; } deg2rad(x); 度âã©ã¸ã¢ã³, ã©ã¸ã¢ã³â度 ã«å¤æããé¢æ°ã®å®ç¾©ã¨å
¥åxã«å¯¾ãã¦ãdeg2radãå®è¡ãã¦ãã¾ãã ããã§ã¯å
¥åã«å¯¾ã㦠0, 90, 180 ãå
¥åãã¦ããã¾ãããã ã¯ãã[Result]ã«ã©ã¸ã¢ã³ã«å¤æãããå¤ãåºåããã¾ãããã ãããªæãã§ãè¤æ°ã®
{{#tags}}- {{label}}
{{/tags}}