public int Distance(ref Vector2I v2i) { return(IntMath.Distance2D(v2i.x - x, v2i.z - z)); }
public int Distance(ref Vector3I v3i) { int temp = IntMath.Distance2D(v3i.x - x, v3i.z - z); return(IntMath.Distance2D(temp, v3i.y - y)); }
public int Length() { return(IntMath.Distance2D(x, z)); }
public int Length() { int temp = IntMath.Distance2D(x, z); return(IntMath.Distance2D(temp, y)); }