01-19-2005, 01:38 PM
Well, there are tons of things that I got used to doing that way... declaring static at the beginning of the program, and then sending everything to be processed as declared in the sub & function headers.
No, I haven't tried billboarding yet. I'm just studying everything I can find about OpenGL and hoping that we can pass arrays() as descriptor to subs.
Got any new demos? :bounce:
EDIT:
In either one of those examples that you posted, is there a way to send the data to another sub and modify it, or just use it for collision checks & such? Say I had a large vertex array, and I wanted to send a single triangle to a sub to be processed. How could I do it? I don't understand how it's possible from your examples...especially if there is a nested udt inside another udt .:???:
No, I haven't tried billboarding yet. I'm just studying everything I can find about OpenGL and hoping that we can pass arrays() as descriptor to subs.
Got any new demos? :bounce:
EDIT:
In either one of those examples that you posted, is there a way to send the data to another sub and modify it, or just use it for collision checks & such? Say I had a large vertex array, and I wanted to send a single triangle to a sub to be processed. How could I do it? I don't understand how it's possible from your examples...especially if there is a nested udt inside another udt .:???: