Example #1
0
 public int Distance(ref Vector2I v2i)
 {
     return(IntMath.Distance2D(v2i.x - x, v2i.z - z));
 }
Example #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));
        }
Example #3
0
 public int Length()
 {
     return(IntMath.Distance2D(x, z));
 }
Example #4
0
        public int Length()
        {
            int temp = IntMath.Distance2D(x, z);

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