Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ball ball1(modelPos[0], 0);
- ball1.makeSphere();
- ball1.loadTexture();
- ballCollection.push_back(ball1);
- //INSIDE GAME LOOP
- for (int i = 0; i < 16; i++) {
- ballCollection.at(i).drawBall(ourShader);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement