Added vec2 and input definitions.