gets the direction vector of a certain yaw and pitch . concode_field_sep PlaceHolder placeHolder concode_field_sep Vector3 transform concode_elem_sep Vector3 transform concode_elem_sep Vector3 getDirection concode_elem_sep Vector3 getRandomDirection3D concode_elem_sep Vector2 getRandomDirection2D concode_elem_sep Vector2 getDirection2D
Vector3 function ( float arg0 , float arg1 ) { final float loc0 = TrigMath . cos ( arg1 ) ; return new Vector3 ( loc0 * TrigMath . cos ( arg0 ) , TrigMath . sin ( arg1 ) , loc0 * TrigMath . sin ( arg0 ) ) ; }