「Unity/Csharp/数学」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「<pre> int angle = 10; // 10度の場合 double x = Math.Sin(angle * (Math.PI / 180)); double y = Math.Cos(angle * (Math.PI / 180)); </pre> 参考:https://kuroeveryday.b...」) |
(相違点なし)
|
2020年5月1日 (金) 15:36時点における版
int angle = 10; // 10度の場合 double x = Math.Sin(angle * (Math.PI / 180)); double y = Math.Cos(angle * (Math.PI / 180));
参考:https://kuroeveryday.blogspot.com/2015/03/Trigonometry.html