View the City in 3D Mode
- Press 1 to rotate the view from right to left
- Keep Pressing 1 to increase the speed of rotation
- Press 2 to rotate the view from left to right
- Keep Pressing 2 to increase the speed of rotation
- Press 3 to stop the rotation
- Make sure the GL/glut.h file is installed in your system.
If not then install it from freeglut3-dev package by the following command line -
- sudo apt-get install freeglut3-dev
- g++ CityView.cpp -o out -lGL -lGLU -lglut (This command line will produce an executable file called 'out')
- ./out (This will produce the output)
Compile process for Windows is Comming soon ... ... ...