首页 > 其他 > 详细

Mathf.Log

时间:2020-08-12 14:28:02      阅读:50      评论:0      收藏:0      [点我收藏+]
public static float Log(float f, float p);

Description

Returns the logarithm of a specified number in a specified base.

using UnityEngine;

public class ScriptExample : MonoBehaviour { void Start() { // logarithm of 6 in base 2 // prints 2.584963 Debug.Log(Mathf.Log(6, 2)); } }

Mathf.Log

原文:https://www.cnblogs.com/guomengkai/p/13490092.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!