三角関数まとめ
Const float PI = 3.14159; ラジアンの範囲(0-2PI)
sin値(斜辺 / 高さ)
cos値(斜辺 / 底辺)
tan値(高さ / 斜辺)
三角関数
sin ラジアンからsin値を求める
cos ラジアンからcos値を求める
tan ラジアンからtan値を求める
逆三角関数
asin sin値からラジアンを求める
atan tan値からラジアンを求める
atan2(y,x) ベクトルからそのベクトルとX軸のなすラジアンを求める
度数法からラジアンへ
radians
ラジアンから度数法へ
degrees
辺の長さを求める
sec = 1 / cos
cosec = 1 / sin
cot 1 / tan