Hi,
I would like to use glvertexpointer to draw a series of gl_line_strip. I’m storing my coordinate values( x-values and y-values) in a 2 dimension dynamic array. I know that when I call this function, I have to supply the following
void glVertexPointer(GLint size,
GLenum type,
GLsizei stride,
const GLvoid * pointer)
However, does this function accept 2 dimension dynamic array? If so, should I just point to the array on the pointer field and expect it to work? Please, let me know. Thanks.