public vec3 normalized(){
  float x=this.m[0];
  float y=this.m[1];
  float z=this.m[2];
  float s=1.0f / (float)Math.sqrt(x * x + y * y + z * z);
  vec3 result=new vec3(x * s,y * s,z * s);
  return result;
}

public vec3 normalized ( ) { float x = this . m [ 0 ] ; float y = this . m [ 1 ] ; float z = this . m [ 2 ] ; float s = 1.0f / ( float ) Math . sqrt ( x * x + y * y + z * z ) ; vec3 result = new vec3 ( x * s , y * s , z * s ) ; return result ; }
\ brief returns : normalize ( this )
