This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

glucylinder.h

By: a guest on May 11th, 2011  |  syntax: None  |  size: 0.78 KB  |  views: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. void myKeyboardFunc( unsigned char key, int x, int y );
  2. void mySpecialKeyFunc( int key, int x, int y );
  3.  
  4. void drawScene(void);
  5.  
  6. void initRendering();
  7. void resizeWindow(int w, int h);
  8.  
  9. // ********************************************************
  10. // These are four general purpose routines for generating
  11. //      cylinders, with or without caps.
  12. // *********************************************************
  13. void drawGluCylinder( double height, double radius, int slices, int stacks );
  14. void drawGluSlantCylinder( double height, double radiusBase, double radiusTop, int slices, int stacks );
  15. void drawGluCylinderWithCaps( double height, double radius, int slices, int stacks );
  16. void drawGluSlantCylinderWithCaps( double height, double radiusBase, double radiusTop, int slices, int stacks );
clone this paste RAW Paste Data