Original Post
I really need some help for a school project I''m doing that is due Thursday. How do you randomly select a texture? I''ve tried the obvious use of a variable (let''s call it a) that is made from a rand statement. I tried placing the variable in place of the number used to specify what texture that you want, but Dev-C++ tells me "invalid types `unsigned int[6][GLfloat]'' for array subscript". How do I select a random texture?