Reverted changes to vec2.c vec2.h. fminf not supported by VS2010: changed to (a<b)?a:b;