Added proper interface to vec3.