Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您将如何在 C# 中编写此函数?
我知道这与 Mathf.Log 有关,但我的数学有点生疏。任何帮助都会很棒。
Mathf看起来它是为 Unity 准备的。除非您使用 Unity,否则您可能想要:
Mathf
double x = 1 + (Math.log(v -s) / (10 * Math.log(2)));