LlTan
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials | 
| 函数名 | 
|---|
| Function: float llTan( float theta ); | 
| 参数:返回θ的正切值。
 •浮动θ(( float theta ))–以弧度表示的角度  | 
| 返回值:无 | 
| 注意事项 | 
|---|
| 无 | 
| 示例 | 
|---|
示例1
// Touch the object with this script in it to see the tangent of random numbers!
default
{
    touch_start(integer num)
    {
        float r = llFrand(TWO_PI);
        llOwnerSay("The tangent of " + (string)r + " in radians or " + (string)(r * RAD_TO_DEG) + " in degrees is " + (string)llTan(r));
    }
}
 | 
| 相关函数 | 
|---|
| llSin llAsin –正弦和反正弦
 llAtan2–反切线  | 
| 相关事件 | 
|---|
| 无 |