Dear reader,
I'm new to java programming. I have made an application that shows a 3 dimensional object using glDrawElements, a strip of triangles, and an index buffer. the index buffer is a lot of numbers with some nice structure. I was wondering if i could make the index buffer another way using sequences to decrease the application size. Would it be faster in execution time? For example the sequence {1,2,3,4,5,6} can be made in matlab (a math solving program) using the simple statement 1:6. Do i need to import another class for it? an example would be very helpful.
Thanks alot