I am scratching my head here..
I know what the problem is (I think) but I don't know why it is happening.
Please see the attached zip file.
I am making a wormhole which lots of stuff is going to fly out of, I decide to do a test with some gl_points, I made three arrays to hold points, declared some subs to control them, called the sub to fill the arrays with random points and then I tried to access those arrays in the program and it crashes instantly.
It seems like my arrays are never initialised, the sub to initialise the array is never called by the look of things, clearly I have got a few things wrong here.
Anyone want to give me a clue?
Thanks.