I have an array of three set of vertices which I use to draw three points on the screen. I added another vertex to my array of vertices using the push() method of javascript