public void append ( float [ ] newValue ) { if ( ( newValue . length % 2 ) == 0 ) { for ( int i = 0 ; i < ( newValue . length / 2 ) ; i ++ ) { value . add ( new SFVec2f ( newValue [ i * 2 ] , newValue [ i * 2 + 1 ] ) ) ; } } else { Log . e ( TAG , "X3D MFVec3f append set with array length not divisible by 2" ) ; } }
Places a new value at the end of the existing value array increasing the field length accordingly .