if any of the components are very close to zero , make them zero . concode_field_sep float c[] concode_field_sep Vec3d add concode_elem_sep Vec3d scaleTo concode_elem_sep void writeExternal concode_elem_sep Vec3d sub concode_elem_sep Vec3d normalized concode_elem_sep float dot concode_elem_sep Vec3d cross concode_elem_sep Vec3d scale concode_elem_sep boolean equalsPresicion concode_elem_sep Vec3d subFrom concode_elem_sep float lensq concode_elem_sep float len concode_elem_sep boolean equals concode_elem_sep Vec3d normalize concode_elem_sep void readExternal concode_elem_sep Vec3d addTo concode_elem_sep String toString concode_elem_sep int getGreatestComponent concode_elem_sep void clamp
void function ( ) { if ( Math . abs ( c [ 0 ] ) < 1e-5f ) { c [ 0 ] = 0 ; } if ( Math . abs ( c [ 1 ] ) < 1e-5f ) { c [ 1 ] = 0 ; } if ( Math . abs ( c [ 2 ] ) < 1e-5f ) { c [ 2 ] = 0 ; } }