sin(float)
サイン計算し結果を返す。
float sin( float fValue );
Parameters
fValue
サイン計算させたい浮動小数値(ラジアン表記ではなく度)
Description
サインを計算し値を返す。
返す値は-1.0 から 1.0
			
この関数と同様 ”SeeAlso” にある数学関連関数は、オブジェクト間の角度や距離を計算するのに使う。
Remarks
斜辺÷高さ(正弧)
			
Version
1.31
Example
// 浮動小数値のサインを計算する
void main()
{
     float fAngleToObject;
     fAngleToObject == sin(5.0);  // fAngleToObjectの値は0.5になる。
}
See Also
| functions: | acos | asin | atan | cos | tan | 
| categories: | Math Functions | 
author: Charles Feduke, editor: Bill Castello, additional contributor(s): Bill Castello, JP team: geshi, ngtaicho
Send comments on this topic.