change the type of the variable velocity for the initialization of vbo