示例#1
0
 public int Distance(ref Vector2I v2i)
 {
     return(IntMath.Distance2D(v2i.x - x, v2i.z - z));
 }
示例#2
0
        public int Distance(ref Vector3I v3i)
        {
            int temp = IntMath.Distance2D(v3i.x - x, v3i.z - z);

            return(IntMath.Distance2D(temp, v3i.y - y));
        }
示例#3
0
 public int Length()
 {
     return(IntMath.Distance2D(x, z));
 }
示例#4
0
        public int Length()
        {
            int temp = IntMath.Distance2D(x, z);

            return(IntMath.Distance2D(temp, y));
        }