Vector3 function ( ) { final float loc0 = length ( ) ; if ( loc0 != 0 ) { x /= loc0 ; y /= loc0 ; z /= loc0 ; } return this ; }
normalizes this vector to a length of 1 . concode_field_sep Vector3 left concode_elem_sep Vector3 crossProductVec concode_elem_sep Vector3 backward concode_elem_sep Vector3 down concode_elem_sep float x concode_elem_sep float y concode_elem_sep Vector3 forward concode_elem_sep float z concode_elem_sep Vector3 up concode_elem_sep Vector3 zero concode_elem_sep Vector3 right concode_field_sep Vector3 add concode_elem_sep Vector3 crossProduct concode_elem_sep Vector3 sub concode_elem_sep Vector3 set concode_elem_sep Vector3 set concode_elem_sep Vector3 mult concode_elem_sep Vector3 mult concode_elem_sep float[] getFloat4 concode_elem_sep float dot concode_elem_sep float length concode_elem_sep double getAngleBetween concode_elem_sep Vector3 addZ concode_elem_sep Vector3 addZ concode_elem_sep Vector3 addY concode_elem_sep Vector3 addY concode_elem_sep Vector3 getPerpendicularXZ concode_elem_sep Vector3 addX concode_elem_sep Vector3 addX concode_elem_sep Vector3 copy concode_elem_sep Vector3 multZ concode_elem_sep Vector3 multZ concode_elem_sep Vector3 multX concode_elem_sep Vector3 multX concode_elem_sep Vector3 multY concode_elem_sep Vector3 multY