Original Post
Hello everyone. I'm using a cuboid class which is used to make a cube, however i need a larger amount, say 100 so i have created an array of them eg. cube[100]. Although when it comes to rendering these to the screen am i having a bit of trouble because it seems you cannot use a loop in this section of the code like a for or while loop to increment a variable (cube[x]) to display all 100 cubes. Is there any other way to do this rather than typing m_pCube1[1]->Render(); 100 times. I am new to directx and any help would be appreciated.