Advertisement
Guest User

Untitled

a guest
Jun 10th, 2014
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. static const char* drawTypes[] = {
  2. "NDT_NORMAL",
  3. "NDT_AIRLIKE",
  4. "NDT_LIQUID",
  5. "NDT_FLOWINGLIQUID",
  6. "NDT_GLASSLIKE",
  7. "NDT_GLASSLIKE_FRAMED",
  8. "NDT_ALLFACES",
  9. "NDT_ALLFACES_OPTIONAL",
  10. "NDT_TORCHLIKE",
  11. "NDT_SIGNLIKE",
  12. "NDT_PLANTLIKE",
  13. "NDT_FENCELIKE",
  14. "NDT_RAILLIKE",
  15. "NDT_NODEBOX"
  16. };
  17.  
  18. for (int i = 0; i < 14; i++){
  19. shaders_header += "#define ";
  20. shaders_header += drawTypes[i];
  21. shaders_header += " ";
  22. shaders_header += itos(i);
  23. shaders_header += "\n";
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement