2025-03-26 00:02:56 +08:00

319 B

#unity/日常积累

public static float Acos (float f);

描述

返回 f 的反余弦 - 其余弦为 f 的角度(以弧度为单位)。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        print(Mathf.Acos(0.5F));
    }
}