//*****************************************************************************************
// Disclaimer, Authorship and License
/*
	This code has been written to serve as a learning tool for the course MAE 410-574, 
	Virtual Reality Applications and Research, Spring 2007.
	
	Large parts of the code has been adapted from the examples given in the OpenGL 
	Programming Guide by Woo et. al and also from Computer Graphics Using OpenGL by FS Hill
	Some parts of the code has also been adapted from various resources available through 
	out the internet.I thank all those whose code and resources I have used to write these 
	examples. You may use this code for any non-commerical purpose. Feel free to include 
	and use parts of this code for your own application, but remember that this code is not
	entirely bug free, use it at your own risk..If you plan on using the code for your any 
	academic purpose please drop me an email. I would like to attach a link to your course 
	from my home page.

	The Author of this code is Govindarajan Srimathveeravalli, Dept. of Mech and Aero Eng. ,
	University at Buffalo.
*/
//******************************************************************************************

// This file demonstrates the use of the first 5 glut commands demonstrated in class
// A basic Glut window is popped up upon execution. Note that the "render area" of the
// window is not updated and the window does not resize properly

#include "stdafx.h"
#include <glut.h>

void display( )
{
	// nothing to see here, please move along
}

int main(int argc, char* argv[])
{

	// Initialize a window with command line arguments
	glutInit( &argc, argv );
	// Provide window with buffering, coloring information, i.e. the rendering
	// will use a single buffer and the colors are specified in RGB
	glutInitDisplayMode( GLUT_SINGLE | GLUT_RGB );
	// Position and Size the window
	glutInitWindowPosition( 50, 50 );
	glutInitWindowSize( 200, 200 );
	// Create the window with the given features with a 'suitable title'
	glutCreateWindow( "Hello World" );

	// Assign a display 'callback function'
	glutDisplayFunc( display );

	// Enter the graphics loop
	glutMainLoop( );

	return 0;
}


