Original Post
So i begun programming in opengl some week ago and its great. I got the book from the opengl.org site and its great. My problem is, vertex arrays. I do exactly as they say in the book, hell i even tried copying some code form there but still i get some weird results. For example i make a really simple triangle. When i draw it through a vertex array and finally display it i get some wird hexagonal or something. I think i know what should be in the parameters of both the vertex pointer and the drawarrays or whatever but im not 100% sure, so if someone could explain what data should be in the vertexpointer and drawarrays function paramters i would be grateful. Extra credit if you would explain it like a was a monkey, cause i dont know many technical terms in english. Thx in advance!