Advertisement
RoshHoul

Untitled

Mar 29th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Ball ball1(modelPos[0], 0);
  2. ball1.makeSphere();
  3. ball1.loadTexture();
  4. ballCollection.push_back(ball1);
  5.  
  6.  
  7. //INSIDE GAME LOOP
  8. for (int i = 0; i < 16; i++) {
  9. ballCollection.at(i).drawBall(ourShader);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement