{"image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/yasuda0404/","description":"Unity\u306eMathf\u95a2\u6570\u306b\u306f\u3001\u901a\u5e38\u306eMath\u95a2\u6570\u4ee5\u5916\u306b\uff13D\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u7528\u306b\u7279\u5316\u3055\u308c\u305f\u95a2\u6570\u304c\u3042\u308b\u3002\u6b21\u306f\u77e5\u3063\u3066\u304a\u304f\u3068\u52b9\u7387\u5316\u3067\u304d\u305d\u3046\u3002 \u95a2\u6570\u540d\uff08\u5f15\u6570\uff09 \u6a5f\u80fd Clamp(,min,max) \u6700\u5927\u30fb\u6700\u5c0f\u5024\u3067\u30ab\u30c3\u30c8 Pow(x,y) x\u306ey\u4e57 Ceil(x) \u5c0f\u6570\u70b9\u5207\u308a\u4e0a\u3052\uff08float\u306e\u307e\u307e\uff09 CeilToInt(x) \u5c0f\u6570\u70b9\u5207\u308a\u4e0a\u3052\uff06\u6574\u6570\u5316 Floor(x) \u5c0f\u6570\u70b9\u5207\u6368\u3066\uff08float\u306e\u307e\u307e\uff09 FloorToInt(x) \u5c0f\u6570\u70b9\u5207\u6368\u3066\uff06\u6574\u6570\u5316 RoundToInt(x) \u5c0f\u6570\u70b9\u56db\u6368\u4e94\u5165\uff06\u6574\u6570\u5316 Sign(x) \u7b26\u53f7\uff081\u307e\u305f\u306f-1(float)) Lerp(from,to,t) \u88dc\u9593 LerpAng\u2026","title":"\u899a\u3048\u3066\u304a\u304f\u3068\u4fbf\u5229\u306aMathf\u95a2\u6570","categories":["script-\u57fa\u672c"],"blog_title":"Unity\u306a\u65e5\u3005\uff08Unity Geek\uff09","provider_name":"Hatena Blog","blog_url":"https://unitygeek.hatenablog.com/","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funitygeek.hatenablog.com%2Fentry%2F2013%2F01%2F08%2F180649\" title=\"\u899a\u3048\u3066\u304a\u304f\u3068\u4fbf\u5229\u306aMathf\u95a2\u6570 - Unity\u306a\u65e5\u3005\uff08Unity Geek\uff09\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","published":"2013-01-08 18:06:49","author_name":"yasuda0404","provider_url":"https://hatena.blog","url":"https://unitygeek.hatenablog.com/entry/2013/01/08/180649"}