change the type of the variable velocity for initialization of vbo