I’m new to OpenGl, but strating to get the hang of it!
I wrote a program, that draws a [5][5] vector on the screen, but
It doesn’t seem to be working right. the function which fills the vector is initV(); and it seem to be working fine, but in the IdleH(); function(the function which supposed to keep it on screen) some of its elements’ “y” coordinate changes from 6 to 1, always the same elements, and I couldn’t find out what is wrong with it! :frowning:
I’d really appreciate some help, thanks in advance! :slight_smile:
Here’s the code: http://www.friendpaste.com/6pJtSeGdYdOZNTJURqGjFY