Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. std::vector<GLint> Cube::BuildCube( bool face_top,
  2. bool face_bottom,
  3. bool face_front,
  4. bool face_back,
  5. bool face_left,
  6. bool face_right,
  7. int x, int y, int z)
  8.  
  9. if(face_top)
  10. {
  11. std::vector elem = {xMin, yMax, zMin,
  12. xMax, and so on...};
  13. output.insert(output.end, elem.begin(), elem.end());
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement