Function to set values to vectors.
<glm/gtx/vector_access.hpp> need to be included to use these functionalities.