change vec2.h and vec3.h interfaces