随笔分类 -  Unity3d通用脚本

摘要:1 public class mMathf 2 { 3 /// 4 /// 辗转 相除法 求 最大公约数 5 /// a / b = k 6 /// a % b = r 7 /// 原理 gcd(a,b) = gcd(b,r) 8 /// 具体... 阅读全文
posted @ 2014-12-13 15:50 灵魂重新 阅读(309) 评论(0) 推荐(0)
摘要:PathDefinition.cs 1 using UnityEngine; 2 using System.Collections; 3 using System.Collections.Generic; 4 using System.Linq; 5 6 public class PathDefi... 阅读全文
posted @ 2014-12-09 00:43 灵魂重新 阅读(489) 评论(0) 推荐(0)