public float distance(vec3 b){
  float x=this.m[0] - b.m[0];
  float y=this.m[1] - b.m[1];
  float z=this.m[2] - b.m[2];
  float result=(float)Math.sqrt(x * x + y * y + z * z);
  return result;
}

public float distance ( vec3 b ) { float x = this . m [ 0 ] - b . m [ 0 ] ; float y = this . m [ 1 ] - b . m [ 1 ] ; float z = this . m [ 2 ] - b . m [ 2 ] ; float result = ( float ) Math . sqrt ( x * x + y * y + z * z ) ; return result ; }
\ brief distance ( this , b )
