code: public float distance(float x, float y, float z) {
          float dx = this.x - x;
          float dy = this.y - y;
          float dz = this.z - z;
          return (float) Math.sqrt(dx * dx + dy * dy + dz * dz);
      }
docs: /* (non-Javadoc)
  @see org.joml.Vector3fc#distance(float, float, float)