static function Atan (f : float) : float
Description描述
Returns the arc-tangent of f - the angle in radians whose tangent is f.
计算并返回参数 f 中指定的数字的反正切值。返回值介于负二分之 pi 与正二分之 pi 之间。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
print (Mathf.Atan(0.5));
}
}
print (Mathf.Atan(0.5));