PVector function ( PVector arg0 , float arg1 , PVector arg2 ) { if ( arg2 == null ) { arg2 = new PVector ( arg0 . x * arg1 , arg0 . y * arg1 , arg0 . z * arg1 ) ; } else { arg2 . set ( arg0 . x * arg1 , arg0 . y * arg1 , arg0 . z * arg1 ) ; } return arg2 ; }
multiply a vector by a scalar , and write the result into a target pvector . concode_field_sep float[] array concode_elem_sep float x concode_elem_sep float y concode_elem_sep float z concode_field_sep void add concode_elem_sep void add concode_elem_sep PVector add concode_elem_sep PVector add concode_elem_sep void sub concode_elem_sep void sub concode_elem_sep PVector sub concode_elem_sep PVector sub concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep float dot concode_elem_sep float dot concode_elem_sep float dot concode_elem_sep PVector cross concode_elem_sep PVector cross concode_elem_sep PVector cross concode_elem_sep float dist concode_elem_sep float dist concode_elem_sep void div concode_elem_sep PVector div concode_elem_sep PVector div concode_elem_sep void div concode_elem_sep PVector div concode_elem_sep PVector div concode_elem_sep float angleBetween concode_elem_sep float mag concode_elem_sep float heading2D concode_elem_sep float[] array concode_elem_sep PVector get concode_elem_sep float[] get concode_elem_sep void normalize concode_elem_sep PVector normalize concode_elem_sep void limit concode_elem_sep String toString