change position attributes to vec3