Skip to content

Instantly share code, notes, and snippets.

@fatkulnurk
Created September 3, 2018 06:55
Show Gist options
  • Save fatkulnurk/9762cee48f52c27684410defc74b6516 to your computer and use it in GitHub Desktop.
Save fatkulnurk/9762cee48f52c27684410defc74b6516 to your computer and use it in GitHub Desktop.
/*
* GLUT Shapes Demo
*
* Written by Nigel Stewart November 2003
*
* This program is test harness for the sphere, cone
* and torus shapes in GLUT.
*
* Spinning wireframe and smooth shaded shapes are
* displayed until the ESC or q key is pressed. The
* number of geometry stacks and slices can be adjusted
* using the + and - keys.
*/
#include <windows.h>
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include <stdlib.h>
int main(int argc, char *argv[])
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment